summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Xcode/repo.py
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2017-05-09 20:18:12 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2017-05-09 20:18:12 +0000
commit78fd46b230541ee00f95448ec281855bd54c0e68 (patch)
treee889bef6030febda1b670bda11ed74af4f8e760e /lldb/scripts/Xcode/repo.py
parent7caaa7987932470f222ead804b01e434a4a51445 (diff)
downloadbcm5719-llvm-78fd46b230541ee00f95448ec281855bd54c0e68.tar.gz
bcm5719-llvm-78fd46b230541ee00f95448ec281855bd54c0e68.zip
[AArch64] Consider widening instructions in cost calculations
The AArch64 instruction set has a few "widening" instructions (e.g., uaddl, saddl, uaddw, etc.) that take one or more doubleword operands and produce quadword results. The operands are automatically sign- or zero-extended as appropriate. However, in LLVM IR, these extends are explicit. This patch updates TTI to consider these widening instructions as single operations whose cost is attached to the arithmetic instruction. It marks extends that are part of a widening operation "free" and applies a sub-target specified overhead (zero by default) to the arithmetic instructions. Differential Revision: https://reviews.llvm.org/D32706 llvm-svn: 302582
Diffstat (limited to 'lldb/scripts/Xcode/repo.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud