llvm-project/llvm/lib/Transforms
Adam Nemet feafcd9688 [GVN] When merging blocks update LoopInfo if it's available
If LoopInfo is available during GVN, BasicAA will use it.  However
MergeBlockIntoPredecessor does not update LI as it merges blocks.

This didn't use to cause problems because LI was freed before
GVN/BasicAA.  Now with OptimizationRemarkEmitter, the lifetime of LI is
extended so LI needs to be kept up-to-date during GVN.

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

llvm-svn: 288307
2016-12-01 03:56:43 +00:00
..
Coroutines Fix spelling mistakes in Transforms comments. NFC. 2016-11-20 13:19:49 +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 Use CallSite to simplify code 2016-11-29 19:42:27 +00:00
InstCombine [InstCombine] allow more narrowing transforms for logic ops 2016-11-30 20:48:54 +00:00
Instrumentation [asan/win] Align global registration metadata to its size 2016-11-29 01:32:21 +00:00
ObjCARC [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
Scalar [GVN] When merging blocks update LoopInfo if it's available 2016-12-01 03:56:43 +00:00
Utils [LoopUnroll] Implement profile-based loop peeling 2016-11-30 21:13:57 +00:00
Vectorize [SLPVectorizer] Improved support of partial tree vectorization. 2016-11-29 08:21:14 +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