[llvm] [CodeGen] Avoid creating instructions dealing with ones if ones aren't involved in the division (PR #99674)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 21 11:03:44 PDT 2024
================
@@ -5213,6 +5213,9 @@ MachineInstr *CombinerHelper::buildUDivUsingMul(MachineInstr &MI) {
return true;
};
+ bool hasAOne = false;
----------------
topperc wrote:
Variable names should start with capital letter
https://github.com/llvm/llvm-project/pull/99674
More information about the llvm-commits
mailing list