[PATCH] D29571: [JumpThread] Add test for SimplifyPartiallyRedundantLoad(), NFC

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 5 19:31:24 PST 2017


junbuml created this revision.

Add an additional test to show the case caught by r293896 in https://reviews.llvm.org/owners/package/3/. Note that the IR was the input of the jump thread when compiling the C code in the comment with https://reviews.llvm.org/owners/package/3/.

This change also have a minor vairable name change, NFC.


https://reviews.llvm.org/D29571

Files:
  include/llvm/Analysis/Loads.h
  lib/Analysis/Loads.cpp
  lib/Transforms/Scalar/JumpThreading.cpp
  test/Transforms/JumpThreading/thread-loads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29571.87176.patch
Type: text/x-patch
Size: 5933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170206/62b788bd/attachment.bin>


More information about the llvm-commits mailing list