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

Alexey Karyakin via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 20 08:19:18 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
----------------
quic-akaryaki wrote:

Thanks for scrutiny. I have added a check for the output of the pass.

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


More information about the llvm-commits mailing list