summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize/AMDGPU/unroll-in-loop-vectorizer.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-12-18 18:26:25 +0000
committerCraig Topper <craig.topper@intel.com>2018-12-18 18:26:25 +0000
commit20a6db5a84ce8947d188becadd04f80ec353e805 (patch)
treead9e00feaf24d0afbfc27d01fcd92a4f21b2fb13 /llvm/test/Transforms/LoopVectorize/AMDGPU/unroll-in-loop-vectorizer.ll
parentb536bf52997cb764b24f9121212aa527b78571a6 (diff)
downloadbcm5719-llvm-20a6db5a84ce8947d188becadd04f80ec353e805.tar.gz
bcm5719-llvm-20a6db5a84ce8947d188becadd04f80ec353e805.zip
[X86] Create PSUBUS from (add (umax X, C), -C)
InstCombine seems to canonicalize or PSUB patter into a max with the cosntant and an add with an inverse of the constant. This patch recognizes this pattern and turns it into PSUBUS. Future work could improve undef element handling. Fixes some of PR40053 Differential Revision: https://reviews.llvm.org/D55780 llvm-svn: 349519
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/AMDGPU/unroll-in-loop-vectorizer.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud