[PATCH] D97160: [DAGCombiner] Optimize SMULO/UMULO if we can prove that overflow is impossible.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 21 14:59:12 PST 2021
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/X86/xmulo.ll:11
+; CHECK-NEXT: xorl %edx, %edx
; CHECK-NEXT: retq
%1 = call {i64, i1} @llvm.umul.with.overflow.i64(i64 9, i64 8)
----------------
RKSimon wrote:
> Are we missing constant folding?
Looks like it. Doesn't look like we have it for ADDO either.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97160/new/
https://reviews.llvm.org/D97160
More information about the llvm-commits
mailing list