[llvm] [Xtensa] Fix trap/debugtrap operations lowering. (PR #200872)
Alexey Gerenkov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 00:18:13 PDT 2026
================
@@ -1419,7 +1421,27 @@ let isBarrier = 1, isTerminator = 1 in {
def : InstAlias<"_break.n\t$imm", (BREAK_N uimm4:$imm)>;
-def : Pat<(trap), (BREAK (i32 1), (i32 15))>;
+let AddedComplexity = 10 in {
+ def : Pat<(trap), (ILL)>;
+ def : Pat<(debugtrap), (ILL)>;
+}
----------------
gerekon wrote:
fixed
https://github.com/llvm/llvm-project/pull/200872
More information about the llvm-commits
mailing list