Commit c093d13
committed
[Hexagon/LoopIdiom] Protect test against O2 changes
Protect the pmpy-mod.ll test against O2 pipeline changes, by changing
the opt invocation to call exactly the prerequisite passes before
calling hexagon-loop-idiom. The context for this change is that a
HashRecognize analysis was recently added to LLVM, and the optimization
of CRC loops will soon be enabled by default, which would cause
pmpy-mod.ll to fail, since the CRC loop would be optimized by a
table-lookup before HexagonLoopIdiom has a chance to optimize it using
pmpy instructions. HexagonLoopIdiom should probably be removed in the
future, preferring the generic middle-end optimization performed by
using HashRecognize.1 parent 40d2f39 commit c093d13
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
| 2 | + | |
7 | 3 | | |
8 | 4 | | |
9 | 5 | | |
| |||
0 commit comments