[PATCH] D70176: [Codegen][ARM] Add addressing modes from masked loads and stores
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 03:11:30 PST 2019
samparker added a comment.
It would be good to see this rebased since the tail predication changes went in.
================
Comment at: llvm/lib/Target/ARM/ARMISelLowering.cpp:387
+ setIndexedMaskedLoadAction(im, VT, Legal);
+ setIndexedMaskedStoreAction(im, VT, Legal);
+ }
----------------
Why not v4i32 and floats too?
================
Comment at: llvm/lib/Target/ARM/ARMISelLowering.cpp:15566
+ bool CanChangeType = isLE && !IsMasked;
+
----------------
Maybe add a comment here for why we have this restriction?
================
Comment at: llvm/lib/Target/ARM/ARMInstrMVE.td:5312
+ PatFrag StoreKind, int shift>
+ : Pat<(StoreKind (Ty MQPR:$Rt), tGPR:$Rn, t2am_imm7_offset<shift>:$addr, VCCR:$pred),
+ (Opcode MQPR:$Rt, tGPR:$Rn, t2am_imm7_offset<shift>:$addr, (i32 1), VCCR:$pred)>;
----------------
I don't think we shouldn't be restricting the base to a T1 register.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70176/new/
https://reviews.llvm.org/D70176
More information about the llvm-commits
mailing list