summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-11-20 04:30:26 +0000
committerCraig Topper <craig.topper@intel.com>2018-11-20 04:30:26 +0000
commit4954c664307d56c5aa7ed400b3bac730bd71ddb9 (patch)
treeda9b4d8c704d27014f06e6657d7a9bef9dda21b6 /clang/lib/CodeGen/CGBlocks.cpp
parent388af45f18298cb6684dfb61ebeca2070468c8d7 (diff)
downloadbcm5719-llvm-4954c664307d56c5aa7ed400b3bac730bd71ddb9.tar.gz
bcm5719-llvm-4954c664307d56c5aa7ed400b3bac730bd71ddb9.zip
[SelectionDAG] Compute known bits and num sign bits for live out vector registers. Use it to add AssertZExt/AssertSExt in the live in basic blocks
Summary: We already support this for scalars, but it was explicitly disabled for vectors. In the updated test cases this allows us to see the upper bits are zero to use less multiply instructions to emulate a 64 bit multiply. This should help with this ispc issue that a coworker pointed me to https://github.com/ispc/ispc/issues/1362 Reviewers: spatel, efriedma, RKSimon, arsenm Reviewed By: spatel Subscribers: wdng, llvm-commits Differential Revision: https://reviews.llvm.org/D54725 llvm-svn: 347287
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud