[PATCH] D9383: llvm.noalias - BasicAA should look through them too
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 10 00:38:43 PDT 2016
majnemer added a subscriber: majnemer.
majnemer accepted this revision.
majnemer added a reviewer: majnemer.
majnemer added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/IR/Value.cpp:467
@@ -466,1 +466,3 @@
} else {
+ if (IntrinsicInst *I = dyn_cast<IntrinsicInst>(V))
+ if (I->getIntrinsicID() == Intrinsic::noalias) {
----------------
`auto *I`
================
Comment at: lib/IR/Value.cpp:522
@@ -515,1 +521,3 @@
} else {
+ if (IntrinsicInst *I = dyn_cast<IntrinsicInst>(V))
+ if (I->getIntrinsicID() == Intrinsic::noalias) {
----------------
Ditto.
http://reviews.llvm.org/D9383
More information about the llvm-commits
mailing list