summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-12-20 11:56:02 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-12-20 11:56:02 +0000
commit83a0b6abd0f43ee3ed6755fa9c8a2e3ee13e04e7 (patch)
tree5e84d3c7053a7480eec29e06ad41cff7da1af209 /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp
parentd4f66c7d5fca129b3af4c8455fc26451591393ce (diff)
downloadbcm5719-llvm-83a0b6abd0f43ee3ed6755fa9c8a2e3ee13e04e7.tar.gz
bcm5719-llvm-83a0b6abd0f43ee3ed6755fa9c8a2e3ee13e04e7.zip
[SystemZ] Optimize comparisons with truncated extended loads
If the extension of a loaded value is compared against zero and used in other arithmetic, InstCombine will change the comparison to use the unextended load. It's also possible that the comparison could be against the unextended load from the outset. In DAG form this becomes a truncation of an extending load. We want to strip the truncation if possible so that we can use load-and-test instructions. llvm-svn: 197804
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud