Add an additional test to show the case caught by r293896 in O3. Note that the IR was the input of the jump thread when compiling the C code in the comment with O3.
This change also have a minor vairable name change, NFC.
Paths
| Differential D29571
[JumpThread] Add test for SimplifyPartiallyRedundantLoad(), NFC Needs ReviewPublic Authored by junbuml on Feb 5 2017, 7:31 PM.
Revision Contents
Diff 87176 include/llvm/Analysis/Loads.h
lib/Analysis/Loads.cpp
lib/Transforms/Scalar/JumpThreading.cpp
test/Transforms/JumpThreading/thread-loads.ll
|