If the loop trip count may underflow or wrap, the compiler should not generate a hardware loop since the trip count will be incorrect.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D9713
[Hexagon] Check for underflow/wrap in hardware loop pass ClosedPublic Authored by bcahoon on May 12 2015, 11:59 AM.
Details
Diff Detail
Event Timelinebcahoon updated this object. This revision is now accepted and ready to land.May 12 2015, 4:02 PM
Revision Contents
Diff 25607 lib/Target/Hexagon/HexagonHardwareLoops.cpp
test/CodeGen/Hexagon/hwloop-pos-ivbump1.ll
test/CodeGen/Hexagon/hwloop-recursion.ll
test/CodeGen/Hexagon/hwloop-wrap.ll
test/CodeGen/Hexagon/hwloop-wrap2.ll
|