[PATCH] InstCombine: propagate deref via new addDereferenceableAttr

Ramkumar Ramachandra artagnon at gmail.com
Mon Feb 9 14:06:51 PST 2015


Don't assume that the derived pointer can always be cast to an
Argument; dyn_cast and check.


http://reviews.llvm.org/D7510

Files:
  include/llvm/IR/Attributes.h
  include/llvm/IR/Function.h
  include/llvm/IR/Instructions.h
  lib/IR/Attributes.cpp
  lib/IR/Function.cpp
  lib/IR/Instructions.cpp
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/gc.relocate.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7510.19613.patch
Type: text/x-patch
Size: 6883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/d04c834d/attachment.bin>


More information about the llvm-commits mailing list