//===----------------------------------------------------------------------===//
let isBranch = 1, isTerminator = 1, hasCtrlDep = 1 in {
-def BR_IF_ : I<(outs), (ins bb_op:$dst, I32:$a),
- [(brcond I32:$a, bb:$dst)],
- "br_if $dst, $a">;
+def BR_IF : I<(outs), (ins bb_op:$dst, I32:$a),
+ [(brcond I32:$a, bb:$dst)],
+ "br_if $dst, $a">;
let isBarrier = 1 in {
def BR : I<(outs), (ins bb_op:$dst),
[(br bb:$dst)],
default:
// Unhandled instruction; bail out.
return true;
- case WebAssembly::BR_IF_:
+ case WebAssembly::BR_IF:
if (HaveCond)
return true;
Cond.push_back(MI.getOperand(1));
return 1;
}
- BuildMI(&MBB, DL, get(WebAssembly::BR_IF_))
+ BuildMI(&MBB, DL, get(WebAssembly::BR_IF))
.addMBB(TBB)
.addOperand(Cond[0]);
if (!FBB)