[llvm] [CodeGen] Emit more efficient magic numbers for exact udivs (PR #87161)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 11:46:46 PDT 2024
================
@@ -5283,9 +5333,6 @@ bool CombinerHelper::matchUDivByConst(MachineInstr &MI) {
Register Dst = MI.getOperand(0).getReg();
Register RHS = MI.getOperand(2).getReg();
LLT DstTy = MRI.getType(Dst);
- auto *RHSDef = MRI.getVRegDef(RHS);
----------------
topperc wrote:
Don't resolve a converstation if you expect someone to read your reply. It causes it to show up collapsed.
https://github.com/llvm/llvm-project/pull/87161
More information about the llvm-commits
mailing list