[PATCH] D70459: [SCEV] Be robust against IR generated by simple-loop-unswitch

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 13:11:08 PST 2019


reames created this revision.
reames added reviewers: apilipenko, nikic.
Herald added subscribers: javed.absar, bollu, hiraditya, mcrosier.
Herald added a project: LLVM.
reames added a reviewer: ebrevnov.

Simple loop unswitch likes to leave around unsimplified and/or/xors.  SCEV today bails out on these idioms which is unfortunate in general, and specifically for the unswitch interaction.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70459

Files:
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Analysis/ScalarEvolution/trip-count-andor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70459.230135.patch
Type: text/x-patch
Size: 15841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191119/6f43244d/attachment.bin>


More information about the llvm-commits mailing list