aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-08-27 00:58:30 +0000
committerJuergen Ributzka <juergen@apple.com>2014-08-27 00:58:30 +0000
commitfb506a417d71f26497c742e6a031e863f3996918 (patch)
treeca602362c33180eb779331a5c9b28111d6da5563 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent99dd30f33832bbc1dcb17b0a57c64a3a20c7e139 (diff)
downloadllvm-fb506a417d71f26497c742e6a031e863f3996918.zip
llvm-fb506a417d71f26497c742e6a031e863f3996918.tar.gz
llvm-fb506a417d71f26497c742e6a031e863f3996918.tar.bz2
[FastISel][AArch64] Fix address simplification.
When a shift with extension or an add with shift and extension cannot be folded into the memory operation, then the address calculation has to be materialized separately. While doing so the code forgot to consider a possible sign-/zero- extension. This fix folds now also the sign-/zero-extension into the add or shift instruction which is used to materialize the address. This fixes rdar://problem/18141718. llvm-svn: 216511
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions