[PATCH] D36781: [InstCombine] Make folding (X >s -1) ? C1 : C2 --> ((X >>s 31) & (C2 - C1)) + C1 support splat vectors

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 16 14:53:17 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL311044: [InstCombine] Make folding (X >s -1) ? C1 : C2 --> ((X >>s 31) & (C2 - C1)) +… (authored by ctopper).

Changed prior to commit:
  https://reviews.llvm.org/D36781?vs=111406&id=111424#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36781

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36781.111424.patch
Type: text/x-patch
Size: 5662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170816/7e29c350/attachment.bin>


More information about the llvm-commits mailing list