diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-12-03 14:30:18 +0000 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-12-03 14:30:18 +0000 |
commit | 8ae0f88b139c77068573abce0a619757952f9f52 (patch) | |
tree | ab6cab9abb668d076af08316e378ddf08932c94b /lldb/packages/Python/lldbsuite/test/functionalities/target_command/a.c | |
parent | a50c05872e4e340b7a3f7ba18cf3058739b140a0 (diff) | |
download | bcm5719-llvm-8ae0f88b139c77068573abce0a619757952f9f52.tar.gz bcm5719-llvm-8ae0f88b139c77068573abce0a619757952f9f52.zip |
[SystemZ::TTI] Return zero cost for ICmp that becomes Load And Test.
A loaded value with multiple users compared with 0 will become a load and
test single instruction. The load is not folded in this case (multiple
users), but the compare instruction is eliminated.
This patch returns 0 cost for the icmp in these cases.
Review: Ulrich Weigand
https://reviews.llvm.org/D55111
llvm-svn: 348141
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/target_command/a.c')
0 files changed, 0 insertions, 0 deletions