[PATCH] D45378: [InstCombine] Propagate null values from conditions to other basic blocks

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 14:00:45 PDT 2018


xbolva00 added a comment.

In https://reviews.llvm.org/D45378#1060146, @lebedev.ri wrote:

> Note that such a transform (`null` propagation) is already being done somewhere. https://godbolt.org/g/ow79c8
>  I'd recommend to first look where that is happening, and extend that, not introduce a duplicate-but-better fold elsewhere.


But it does not work in basic case.. https://godbolt.org/g/wtimXj


Repository:
  rL LLVM

https://reviews.llvm.org/D45378





More information about the llvm-commits mailing list