[PATCH] D67034: [CVP] Generate simpler code for elided with.overflow intrinsics

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 31 02:04:31 PDT 2019


nikic created this revision.
nikic added reviewers: lebedev.ri, spatel, reames.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Just a small cleanup... Use a `{ iN undef, i1 false }` struct as the base, and only insert the first operand, instead of using `{ iN undef, i1 undef }` as the base and inserting both. This is the same as what we do in InstCombine.


Repository:
  rL LLVM

https://reviews.llvm.org/D67034

Files:
  llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  llvm/test/Transforms/CorrelatedValuePropagation/overflows.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67034.218206.patch
Type: text/x-patch
Size: 23662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190831/9045bab2/attachment.bin>


More information about the llvm-commits mailing list