[Mlir-commits] [llvm] [mlir] [IR] Split Br into UncondBr and CondBr (PR #184027)

Nikita Popov llvmlistbot at llvm.org
Sun Mar 1 12:17:24 PST 2026


================
@@ -732,7 +732,8 @@ bool TypePromotionImpl::isSupportedValue(Value *V) {
              !GenerateSignBits(I);
     case Instruction::GetElementPtr:
     case Instruction::Store:
-    case Instruction::Br:
+    case Instruction::UncondBr:
----------------
nikic wrote:

Just CondBr is probably sufficient here, as Br has neither (value) operands nor results.

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


More information about the Mlir-commits mailing list