[clang] [CIR] Upstream initial support for CIR flattening (PR #130648)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 10 11:20:35 PDT 2025


================
@@ -428,6 +428,46 @@ def ScopeOp : CIR_Op<"scope", [
   ];
 }
 
+//===----------------------------------------------------------------------===//
+// BrOp
+//===----------------------------------------------------------------------===//
+
+def BrOp : CIR_Op<"br",
----------------
bcardosolopes wrote:

It's just a coincidence (I didn't look at LLVMIR when I first named this). The value IMO is matching a terse mnemonic - I'd vote to keep BrOp for consistency (versus BranchOp/"cir.branch").

https://github.com/llvm/llvm-project/pull/130648


More information about the cfe-commits mailing list