[PATCH] D143129: [GVN] Restrict equality propagation for pointers
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 23:49:37 PST 2023
arichardson added inline comments.
================
Comment at: llvm/test/Transforms/GVN/assume-equal.ll:56
-; CHECK: call i32 @_ZN1A3fooEv(
+; CHECK-NOT: call i32 @_ZN1A3fooEv(
%call2 = tail call i32 %0(ptr %call) #1
----------------
Instead of the negative checks (which may pass for other reasons) I'd use a positive one with the new output.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143129/new/
https://reviews.llvm.org/D143129
More information about the llvm-commits
mailing list