[PATCH] D67392: [ARM][ParallelDSP] Change smlad insertion order
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 06:32:00 PDT 2019
SjoerdMeijer added inline comments.
================
Comment at: lib/Target/ARM/ARMParallelDSP.cpp:379
+ for (auto Write : Writes) {
+ for (auto Read : Loads) {
MemoryLocation ReadLoc =
----------------
Just curious, why did you change the iteration order, Loads/Writes vs. Writes/Loads?
================
Comment at: test/CodeGen/ARM/ParallelDSP/blocks.ll:139
+; scalars.
+; CHECK-LABEL: num_load_limit
+; CHECK: call i32 @llvm.arm.smlad
----------------
Double checking I understand this test: this test has 16 loads, so is within the limit of 16.
So why don't we generate the 4th SMLAD?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67392/new/
https://reviews.llvm.org/D67392
More information about the llvm-commits
mailing list