[PATCH] D40304: [InstCombine] PR35354: Convert load bitcast (select (Cond, &V1, &V2)) --> select(Cond, load bitcast &V1, load bitcast &V2)
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 28 13:07:42 PST 2017
ABataev updated this revision to Diff 124625.
ABataev added a comment.
Make the conversion iff the load is part of load/store canonicalization conversion.
https://reviews.llvm.org/D40304
Files:
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
test/Transforms/InstCombine/load-bitcast-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40304.124625.patch
Type: text/x-patch
Size: 5009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171128/86eb9d55/attachment.bin>
More information about the llvm-commits
mailing list