diff options
| author | Juergen Ributzka <juergen@apple.com> | 2014-09-18 05:40:47 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@apple.com> | 2014-09-18 05:40:47 +0000 |
| commit | a33070c3218a91925e98b62b976830c1c4bafc53 (patch) | |
| tree | c10cde813776890b3e4a7f4f5a632ae89f3e278e /llvm/test/CodeGen/XCore/dwarf_debug.ll | |
| parent | 99b7758ba072e13cebc54ecb043f9c79315f0241 (diff) | |
| download | bcm5719-llvm-a33070c3218a91925e98b62b976830c1c4bafc53.tar.gz bcm5719-llvm-a33070c3218a91925e98b62b976830c1c4bafc53.zip | |
[FastISel][AArch64] Try to fold the offset into the add instruction when simplifying a memory address.
Small optimization in 'simplifyAddress'. When the offset cannot be encoded in
the load/store instruction, then we need to materialize the address manually.
The add instruction can encode a wider range of immediates than the load/store
instructions. This change tries to fold the offset into the add instruction
first before materializing the offset in a register.
llvm-svn: 218031
Diffstat (limited to 'llvm/test/CodeGen/XCore/dwarf_debug.ll')
0 files changed, 0 insertions, 0 deletions

