[PATCH] D89628: Don't fold overflowing arithmetic ops on vectors

LemonBoy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 17 12:03:41 PDT 2020


LemonBoy updated this revision to Diff 298846.
LemonBoy added a comment.

Oh well, it turns out the results are evaluated according to all the elements so it's ok to splat it.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89628/new/

https://reviews.llvm.org/D89628

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/with_overflow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89628.298846.patch
Type: text/x-patch
Size: 7269 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201017/2702419d/attachment.bin>


More information about the llvm-commits mailing list