diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2019-02-06 19:23:31 +0000 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2019-02-06 19:23:31 +0000 |
commit | b21dde053084438ddff85f42400c7b58b462905c (patch) | |
tree | a8b9dbd1e8c7cd79dfaf9b5b0c3e8f757389d4d2 /lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/exceptions.cpp | |
parent | 02fc3c696c18cd2d5aceaa5d0e021396385dfba8 (diff) | |
download | bcm5719-llvm-b21dde053084438ddff85f42400c7b58b462905c.tar.gz bcm5719-llvm-b21dde053084438ddff85f42400c7b58b462905c.zip |
[SystemZ] Improved handling of the @llvm.ctlz intrinsic.
Since SystemZ supports counting of leading zeros with the FLOGR instruction,
isCheapToSpeculateCtlz() should return true, which it now does.
ISD::CTLZ_ZERO_UNDEF i32 is now handled the same way as ISD::CTLZ is, which
is needed since promotion to i64 is required and CTLZ_ZERO_UNDEF is only
expanded to CTLZ if it is Legal or Custom.
Review: Ulrich Weigand
https://reviews.llvm.org/D57710
llvm-svn: 353330
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/exceptions.cpp')
0 files changed, 0 insertions, 0 deletions