This part of the series started by D9375, and adds some code to clean-up dead llvm.noalias intrinsics. Specifically:
- The intrinsic is dead if it has no users
- If the pointer argument is undef, the intrinsic can be removed (replaced by the undef).
Paths
| Differential D9376
llvm.noalias - handling of dead intrinsics AcceptedPublic Authored by hfinkel on Apr 30 2015, 8:07 AM.
Details
Diff Detail Event Timelinehfinkel updated this object. This revision is now accepted and ready to land.May 12 2015, 3:36 PM
Comment Actions This is marked Accepted and is first in the sequence in D9375. Is there some reason this isn't merged yet? LGTM too.
Revision Contents
Diff 63444 lib/Analysis/InstructionSimplify.cpp
lib/Transforms/Utils/Local.cpp
test/Transforms/InstSimplify/noalias.ll
|
Hmm. What about NULL in address space 0?