diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-11-30 00:00:42 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-11-30 00:00:42 +0000 |
commit | 318ce7cb3f7539a36d41a030f8998322afbc6f1c (patch) | |
tree | bcd56dd4101b421d34cd394879bba7c28254d066 /llvm/lib/Target/ARM/ARMCodeEmitter.cpp | |
parent | 0b27b68164b55a5b103e0eed4668cefd529d2913 (diff) | |
download | bcm5719-llvm-318ce7cb3f7539a36d41a030f8998322afbc6f1c.tar.gz bcm5719-llvm-318ce7cb3f7539a36d41a030f8998322afbc6f1c.zip |
Fix the encoding of VLD4-dup alignment.
The only reasonable way I could find to do this is to provide an alternate
version of the addrmode6 operand with a different encoding function. Use it
for all the VLD-dup instructions for the sake of consistency.
llvm-svn: 120358
Diffstat (limited to 'llvm/lib/Target/ARM/ARMCodeEmitter.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMCodeEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMCodeEmitter.cpp b/llvm/lib/Target/ARM/ARMCodeEmitter.cpp index 5872fcd8443..5f18673a3c8 100644 --- a/llvm/lib/Target/ARM/ARMCodeEmitter.cpp +++ b/llvm/lib/Target/ARM/ARMCodeEmitter.cpp @@ -191,6 +191,8 @@ namespace { const { return 0; } unsigned getAddrMode6AddressOpValue(const MachineInstr &MI, unsigned Op) const { return 0; } + unsigned getAddrMode6DupAddressOpValue(const MachineInstr &MI, unsigned Op) + const { return 0; } unsigned getAddrMode6OffsetOpValue(const MachineInstr &MI, unsigned Op) const { return 0; } unsigned getBitfieldInvertedMaskOpValue(const MachineInstr &MI, |