llvm-project/llvm/lib/Transforms
Craig Topper 8bf622174d [InstCombine] Remove one use restriction on the shift for calls to foldICmpAndShift.
If this transformation succeeds, we're going to remove our dependency on the shift by rewriting the and. So it doesn't matter how many uses the shift has.

This distributes the one use check to other transforms in foldICmpAndConstConst that do need it.

Differential Revision: https://reviews.llvm.org/D38206

llvm-svn: 314233
2017-09-26 18:47:25 +00:00
..
Coroutines [Analysis] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. Also affected in files (NFC). 2017-08-31 21:56:16 +00:00
Hello Add auto-exporting of symbols from tools so that plugins work on Windows 2016-05-26 11:16:43 +00:00
IPO Rename markAsErased to erase, as pointed out in a previous review; NFC 2017-09-22 01:47:41 +00:00
InstCombine [InstCombine] Remove one use restriction on the shift for calls to foldICmpAndShift. 2017-09-26 18:47:25 +00:00
Instrumentation Don't move llvm.localescape outside the entry block in the GCOV profiling pass 2017-09-26 11:56:43 +00:00
ObjCARC [ObjCARC] Pass the correct BasicBlock to fix assertion failure. 2017-08-31 18:27:47 +00:00
Scalar [DSE] Merge stores when the later store only writes to memory locations the early store also wrote to (2nd try) 2017-09-26 13:54:28 +00:00
Utils TargetLibraryInfo: Stop guessing wchar_t size 2017-09-26 02:36:57 +00:00
Vectorize [SLP] Support for horizontal min/max reduction. 2017-09-25 13:34:59 +00:00
CMakeLists.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00
LLVMBuild.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00