[PATCH] D21190: [InstCombine] allow more than one use for vector cast folding with selects

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 15:04:32 PDT 2016


spatel updated this revision to Diff 60246.
spatel added a comment.

Patch updated:
Add comment to better explain the one-use restriction.
Also, add a TODO comment for cleanup because there's a strange combo of isa/dyn_cast/llvm_unreachable below here.


http://reviews.llvm.org/D21190

Files:
  lib/Transforms/InstCombine/InstCombineSelect.cpp
  test/Transforms/InstCombine/select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21190.60246.patch
Type: text/x-patch
Size: 4775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160609/def58168/attachment.bin>


More information about the llvm-commits mailing list