Skip to content

Commit c34be29

Browse files
committed
Fix Xqccmp test interrupt attributes
1 parent cbcf190 commit c34be29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/RISCV/xqccmp-push-pop-popret.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,7 +1589,7 @@ define void @alloca(i32 %n) {
15891589
declare i32 @foo_test_irq(...)
15901590
@var_test_irq = global [32 x i32] zeroinitializer
15911591

1592-
define void @foo_with_irq() "interrupt"="user" {
1592+
define void @foo_with_irq() "interrupt"="machine" {
15931593
; RV32IXQCCMP-LABEL: foo_with_irq:
15941594
; RV32IXQCCMP: # %bb.0:
15951595
; RV32IXQCCMP-NEXT: qc.cm.push {ra}, -64
@@ -2101,7 +2101,7 @@ define void @foo_no_irq() {
21012101
ret void
21022102
}
21032103

2104-
define void @callee_with_irq() "interrupt"="user" {
2104+
define void @callee_with_irq() "interrupt"="machine" {
21052105
; RV32IXQCCMP-LABEL: callee_with_irq:
21062106
; RV32IXQCCMP: # %bb.0:
21072107
; RV32IXQCCMP-NEXT: qc.cm.push {ra, s0-s11}, -112

0 commit comments

Comments
 (0)