]> granicus.if.org Git - llvm/commit
[ARM] ParallelDSP: multiple reduction stmts in loop
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Wed, 11 Jul 2018 12:36:25 +0000 (12:36 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Wed, 11 Jul 2018 12:36:25 +0000 (12:36 +0000)
commitf72585ca173fbc0e9ee43ee2ffec70d9f55e0ff5
tree60e6c7ac211045dccd3e57b33dd50576ef31b2e3
parentf0c06bd76735355c783a7ce199de5f9d429aa773
[ARM] ParallelDSP: multiple reduction stmts in loop

This fixes an issue that we were not properly supporting multiple reduction
stmts in a loop, and not generating SMLADs for these cases. The alias analysis
checks were done too early, making it too conservative.

Differential revision: https://reviews.llvm.org/D49125

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336795 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMParallelDSP.cpp
test/CodeGen/ARM/smlad0.ll