]> granicus.if.org Git - llvm/commit
Recommit r298282 with fixes for memory allocation/deallocation
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 21 Mar 2017 17:09:27 +0000 (17:09 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 21 Mar 2017 17:09:27 +0000 (17:09 +0000)
commit32a326f95b6409a56343ed6bdaa04fcccd34876c
tree7c3d3591861fbd4205d47b20b482cb5a2e3f35d8
parent3b5307281617d19e9e654da51bec7e2b8ad41124
Recommit r298282 with fixes for memory allocation/deallocation

[Hexagon] Recognize polynomial-modulo loop idiom again

Regain the ability to recognize loops calculating polynomial modulo
operation. This ability has been lost due to some changes in the
preceding optimizations. Add code to preprocess the IR to a form
that the pattern matching code can recognize.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298400 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
test/CodeGen/Hexagon/loop-idiom/pmpy-mod.ll [new file with mode: 0644]