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

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 11:52:15 PDT 2018


hfinkel added a comment.

> disable this fold when comparing noalias ptr with null

But it's not just comparing to a nullptr constant, it's also comparing to another SSA value that, dynamically, is null.


Repository:
  rL LLVM

https://reviews.llvm.org/D52164





More information about the llvm-commits mailing list