summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2019-03-15 21:18:05 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2019-03-15 21:18:05 +0000
commit9f377906088f1c26134d96353857e4c3dd5e8f34 (patch)
tree60b07293f4a9a11bcfdd146974feb475955cae23 /llvm/lib/CodeGen/MachinePipeliner.cpp
parentb6e376ddfa1715c0ea0e975fc7fb033da2814661 (diff)
downloadbcm5719-llvm-9f377906088f1c26134d96353857e4c3dd5e8f34.tar.gz
bcm5719-llvm-9f377906088f1c26134d96353857e4c3dd5e8f34.zip
[X86] X86ISelLowering::combineSextInRegCmov(): also handle i8 CMOV's
Summary: As noted by @andreadb in https://reviews.llvm.org/D59035#inline-525780 If we have `sext (trunc (cmov C0, C1) to i8)`, we can instead do `cmov (sext (trunc C0 to i8)), (sext (trunc C1 to i8))` Reviewers: craig.topper, andreadb, RKSimon Reviewed By: craig.topper Subscribers: llvm-commits, andreadb Tags: #llvm Differential Revision: https://reviews.llvm.org/D59412 llvm-svn: 356301
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud