diff options
author | Sam Parker <sam.parker@arm.com> | 2019-06-17 13:39:28 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2019-06-17 13:39:28 +0000 |
commit | 1bd3d00e7e5a299cefb2cd4759de30aafd7d1c7c (patch) | |
tree | 8de221318778a2af7195c530785f5ada8b6f38bc /llvm/lib/CodeGen/MIRCanonicalizerPass.cpp | |
parent | 7dc917603be45fa3f5e81b25e860514ab479a531 (diff) | |
download | bcm5719-llvm-1bd3d00e7e5a299cefb2cd4759de30aafd7d1c7c.tar.gz bcm5719-llvm-1bd3d00e7e5a299cefb2cd4759de30aafd7d1c7c.zip |
[CodeGen] Check for HardwareLoop Latch ExitBlock
The HardwareLoops pass finds exit blocks with a scevable exit count.
If the target specifies to update the loop counter in a register,
through a phi, we need to ensure that the exit block is a latch so
that we can insert the phi with the correct value for the incoming
edge.
Differential Revision: https://reviews.llvm.org/D63336
llvm-svn: 363556
Diffstat (limited to 'llvm/lib/CodeGen/MIRCanonicalizerPass.cpp')
0 files changed, 0 insertions, 0 deletions