[llvm] [NewPM][Hexagon] Add HexagonPassRegistry.def (PR #86244)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 09:18:46 PDT 2024


================
@@ -1,4 +1,4 @@
-; RUN: opt -S -hexagon-loop-idiom < %s | opt -S -passes='loop(loop-deletion),gvn'
+; RUN: opt -mtriple hexagon-- -S -passes='loop(hexagon-loop-idiom,loop-deletion),gvn'
 ; REQUIRES: asserts
 
 ; This tests that the HexagonLoopIdiom pass does not mark LCSSA information
----------------
aeubanks wrote:

this is an issue. the new PM loop infra assumes that loops are always in LCSSA form. either the pass needs to ensure the loops are in LCSSA form, or perhaps it can just call a helper method

https://github.com/llvm/llvm-project/pull/86244


More information about the llvm-commits mailing list