[PATCH] D74285: [EarlyCSE] avoid crashing when detecting min/max/abs patterns (PR41083)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 10 06:53:27 PST 2020


spatel updated this revision to Diff 243548.
spatel marked 2 inline comments as done.
spatel added a comment.

Patch updated:
Add tests for -O1 to show that the standard pipelines (the combination of -instcombine and -early-cse) can reduce select patterns formed from different basic ops.


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

https://reviews.llvm.org/D74285

Files:
  llvm/lib/Transforms/Scalar/EarlyCSE.cpp
  llvm/test/Transforms/EarlyCSE/commute.ll
  llvm/test/Transforms/PhaseOrdering/min-max-abs-cse.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74285.243548.patch
Type: text/x-patch
Size: 10824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200210/c924f474/attachment.bin>


More information about the llvm-commits mailing list