]> granicus.if.org Git - llvm/commit
[ARM][LowOverheadLoops] Revert remaining pseudos
authorSam Parker <sam.parker@arm.com>
Mon, 22 Jul 2019 14:16:40 +0000 (14:16 +0000)
committerSam Parker <sam.parker@arm.com>
Mon, 22 Jul 2019 14:16:40 +0000 (14:16 +0000)
commitd896998d09c7ea37a4918d51a777e3bce493b11d
treee14fc74d6e0a414cb87bf6abd175e0415784b89d
parent46f846cdd241950621bcf83c1109a092e8301bc2
[ARM][LowOverheadLoops] Revert remaining pseudos

ARMLowOverheadLoops would assert a failure if it did not find all the
pseudo instructions that comprise the hardware loop. Instead of doing
this, iterate through all the instructions of the function and revert
any remaining pseudo instructions that haven't been converted.

Differential Revision: https://reviews.llvm.org/D65080

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366691 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMLowOverheadLoops.cpp
test/CodeGen/Thumb2/LowOverheadLoops/revert-non-loop.mir [new file with mode: 0644]