[PATCH] D40304: [InstCombine] PR35354: Convert load bitcast (select (Cond, &V1, &V2)) --> select(Cond, load bitcast &V1, load bitcast &V2)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 12:41:20 PST 2017


spatel added a comment.

In https://reviews.llvm.org/D40304#936522, @dberlin wrote:

> Otherwise, the only way around this is to not canonicalize to select this way that early.


And for reference, I have a patch towards that - https://reviews.llvm.org/D38566.

There may be other fixes needed to solve PR35354 (sorry for missing that in the title!)


https://reviews.llvm.org/D40304





More information about the llvm-commits mailing list