diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2021-12-02 21:49:08 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2022-05-14 11:43:49 +0000 |
commit | 4824e7fd18a1223177218d4aec1b3c6c5c4a444e (patch) | |
tree | 5ca6493b1b0bf6a41f257794c0116d5e50fbf37c /contrib/llvm-project/llvm/lib/Target/ARM/ARMInstrThumb.td | |
parent | 5e801ac66d24704442eba426ed13c3effb8a34e7 (diff) | |
parent | f65dcba83ce5035ab88a85fe17628b447eb56e1b (diff) | |
download | src-4824e7fd18a1223177218d4aec1b3c6c5c4a444e.tar.gz src-4824e7fd18a1223177218d4aec1b3c6c5c4a444e.zip |
Merge llvm-project main llvmorg-14-init-11187-g222442ec2d71
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-11187-g222442ec2d71.
PR: 261742
MFC after: 2 weeks
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/ARM/ARMInstrThumb.td')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Target/ARM/ARMInstrThumb.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/ARM/ARMInstrThumb.td b/contrib/llvm-project/llvm/lib/Target/ARM/ARMInstrThumb.td index bf717a4056e9..f09ad8167600 100644 --- a/contrib/llvm-project/llvm/lib/Target/ARM/ARMInstrThumb.td +++ b/contrib/llvm-project/llvm/lib/Target/ARM/ARMInstrThumb.td @@ -1576,6 +1576,8 @@ def : T1Pat<(srl (bswap (extloadi16 t_addrmode_is2:$addr)), (i32 16)), (tREV16 (tLDRHi t_addrmode_is2:$addr))>; def : T1Pat<(srl (bswap (extloadi16 t_addrmode_rr:$addr)), (i32 16)), (tREV16 (tLDRHr t_addrmode_rr:$addr))>; +def : T1Pat<(srl (bswap top16Zero:$Rn), (i32 16)), + (tREV16 tGPR:$Rn)>; def : T1Pat<(truncstorei16 (srl (bswap tGPR:$Rn), (i32 16)), t_addrmode_is2:$addr), (tSTRHi(tREV16 tGPR:$Rn), t_addrmode_is2:$addr)>; |