[llvm] [profcheck][CVP] Adding 'unknown' branch weights for `urem` expansion in CVP (PR #180637)

Jin Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 13 15:23:38 PST 2026


================
@@ -818,6 +820,8 @@ static bool expandUDivOrURem(BinaryOperator *Instr, const ConstantRange &XCR,
          Instr->getOpcode() == Instruction::URem);
   bool IsRem = Instr->getOpcode() == Instruction::URem;
 
+  Function *F = Instr->getFunction();
----------------
jinhuang1102 wrote:

Sure. Fixed

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


More information about the llvm-commits mailing list