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).
hfinkel on Apr 30 2015, 8:07 AM.Authored by