We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0bf55c commit cf14ef9Copy full SHA for cf14ef9
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
@@ -772,7 +772,12 @@ def LLVM_BrOp : LLVM_TerminatorOp<"br",
772
let assemblyFormat = [{
773
$dest (`(` $destOperands^ `:` type($destOperands) `)`)? attr-dict
774
}];
775
- let builders = [LLVM_TerminatorPassthroughOpBuilder];
+ let builders = [
776
+ OpBuilder<(ins "Block *":$dest), [{
777
+ build($_builder, $_state, ValueRange(), dest);
778
+ }]>,
779
+ LLVM_TerminatorPassthroughOpBuilder
780
+ ];
781
}
782
def LLVM_CondBrOp : LLVM_TerminatorOp<"cond_br",
783
[AttrSizedOperandSegments, DeclareOpInterfaceMethods<BranchOpInterface>,
0 commit comments