[PATCH] D9376: llvm.noalias - handling of dead intrinsics
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 10 15:22:00 PDT 2016
hfinkel added inline comments.
================
Comment at: lib/Analysis/InstructionSimplify.cpp:3951-3952
@@ +3950,4 @@
+ // forwarding the undef).
+ if (IID == Intrinsic::noalias && isa<UndefValue>(*ArgBegin))
+ return *ArgBegin;
+
----------------
majnemer wrote:
> Hmm. What about NULL in address space 0?
Good point. We can drop them then too (nothing aliases with as-0 null). I'll update.
http://reviews.llvm.org/D9376
More information about the llvm-commits
mailing list