aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-10-25 22:28:25 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-10-25 22:28:25 +0000
commitb7caa809e1029e6d4b5b1cb7a9624e6076d10bd8 (patch)
tree2c9b556abcffd2b6c48d82655822b301e035617d /clang/lib/CodeGen/CodeGenModule.cpp
parent73c2f197d2a871953cb3de866b21bd26210322df (diff)
downloadllvm-b7caa809e1029e6d4b5b1cb7a9624e6076d10bd8.zip
llvm-b7caa809e1029e6d4b5b1cb7a9624e6076d10bd8.tar.gz
llvm-b7caa809e1029e6d4b5b1cb7a9624e6076d10bd8.tar.bz2
[SystemZ] Improve getMemoryOpCost() to find foldable loads that are converted.
The SystemZ backend can do arithmetic of memory by loading and then extending one of the operands. Similarly, a load + truncate can be folded into an operand. This patch improves the SystemZ TTI cost function to recognize this. Review: Ulrich Weigand https://reviews.llvm.org/D52692 llvm-svn: 345327
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions