[PATCH] D16180: Move isDereferenceable to Loads.h/cpp

Artur Pilipenko via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 04:24:06 PST 2016


apilipenko created this revision.
apilipenko added reviewers: hfinkel, reames.
apilipenko added a subscriber: llvm-commits.
Herald added a subscriber: sanjoy.

As suggested by Hal in D10920 move isDereferenceable stuff to Loads.h/cpp. In subsequent change (actually an update of D10920) I'm going to eliminate isDerferenceableAndAlignedPointer from Loads API, leaving isSafeToLoadSpecualtively the only function to check is load instruction can be speculated.

http://reviews.llvm.org/D16180

Files:
  include/llvm/Analysis/Loads.h
  include/llvm/Analysis/ValueTracking.h
  lib/Analysis/Loads.cpp
  lib/Analysis/MemDerefPrinter.cpp
  lib/Analysis/ValueTracking.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/Transforms/IPO/ArgumentPromotion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16180.44853.patch
Type: text/x-patch
Size: 22753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160114/aaca9118/attachment.bin>


More information about the llvm-commits mailing list