[PATCH] D9376: llvm.noalias - handling of dead intrinsics

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 10 00:42:56 PDT 2016


majnemer added a subscriber: majnemer.

================
Comment at: lib/Analysis/InstructionSimplify.cpp:3951-3952
@@ +3950,4 @@
+  // forwarding the undef).
+  if (IID == Intrinsic::noalias && isa<UndefValue>(*ArgBegin))
+    return *ArgBegin;
+
----------------
Hmm.  What about NULL in address space 0?


http://reviews.llvm.org/D9376





More information about the llvm-commits mailing list