[PATCH] D32208: [GVN] Don't coerce non-integral pointers to integers or vice versa

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 20:09:17 PDT 2017


davide requested changes to this revision.
davide added inline comments.
This revision now requires changes to proceed.


================
Comment at: test/Transforms/NewGVN/non-integral-pointers.ll:25-28
+; CHECK-LABEL: @f1(
+; CHECK-NOT: inttoptr
+; CHECK-NOT: ptrtoint
+ entry:
----------------
I think a test made only of `CHECK-NOT` is a little brittle. Can you expand it a bit?


https://reviews.llvm.org/D32208





More information about the llvm-commits mailing list