File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
llvm/lib/CodeGen/GlobalISel Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -3032,16 +3032,13 @@ bool IRTranslator::translateCallBr(const User &U,
3032
3032
const CallBrInst &I = cast<CallBrInst>(U);
3033
3033
MachineBasicBlock *CallBrMBB = &MIRBuilder.getMBB ();
3034
3034
3035
- if (I.isInlineAsm ()) {
3036
- // FIXME: inline asm not yet supported
3037
- if (!translateInlineAsm (I, MIRBuilder))
3038
- return false ;
3039
- } else if (I.getIntrinsicID () != Intrinsic::not_intrinsic) {
3040
- if (!translateTargetIntrinsic (I, I.getIntrinsicID (), MIRBuilder))
3041
- return false ;
3042
- } else {
3035
+ // FIXME: inline asm not yet supported
3036
+ if (I.isInlineAsm ())
3037
+ return false ;
3038
+ if (I.getIntrinsicID () == Intrinsic::not_intrinsic)
3039
+ return false ;
3040
+ if (!translateTargetIntrinsic (I, I.getIntrinsicID (), MIRBuilder))
3043
3041
return false ;
3044
- }
3045
3042
3046
3043
// Retrieve successors.
3047
3044
SmallPtrSet<BasicBlock *, 8 > Dests;
You can’t perform that action at this time.
0 commit comments