[PATCH] D52164: [InstSimplify] Fold ne/eq comparison of a pointer produced by a noalias function

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 11:12:21 PDT 2018


xbolva00 reclaimed this revision.
xbolva00 added a comment.
This revision now requires changes to proceed.

Ok.. so maybe

- disable this fold when comparing noalias ptr with null
- disable also when cmp' rhs and lhs are both noalias ptrs

?

Any further caveats?


Repository:
  rL LLVM

https://reviews.llvm.org/D52164





More information about the llvm-commits mailing list