[PATCH] D97631: [DAGCombiner] Teach visitUMULO that a 1-bit UMULO can't overflow.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 28 08:05:13 PST 2021


craig.topper created this revision.
craig.topper added reviewers: spatel, RKSimon.
Herald added subscribers: dexonsmith, ecnelises, pengfei, hiraditya.
craig.topper requested review of this revision.
Herald added a project: LLVM.

I don't think we can do this in getNode since we'd need to return
a MERGE_VALUES node which would be unusual.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97631

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/IR/ConstantRange.cpp
  llvm/test/CodeGen/AArch64/vec_umulo.ll
  llvm/test/CodeGen/X86/vec_umulo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97631.326969.patch
Type: text/x-patch
Size: 12344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210228/fbdd03a1/attachment.bin>


More information about the llvm-commits mailing list