[llvm] [Hexagon] Incorrect MIR after "hexinsert" pass (PR #164021)

Brian Cain via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 17 17:14:43 PDT 2025


================
@@ -0,0 +1,36 @@
+; Check that llc does not abort, which happened due to incorrect MIR.
+; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=1 < %s
+; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=2 < %s
+; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=3 < %s
+; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=4 < %s
+; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=5 < %s
----------------
androm3da wrote:

> AFAICT this test does not fail on the baseline.

Whoops - it does ... disregard.

Still -- you might want to make *some* assertions about the output of this case.

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


More information about the llvm-commits mailing list