Skip to content

Commit

Permalink
fixup! fixup! [EVM] Add stack manipulation tests for a single instruc…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
akiramenai committed Oct 30, 2024
1 parent e92ab1a commit 5c856e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/test/CodeGen/EVM/stack-ops.ll
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@ define i256 @swap_both_no_junk(i256 %a1, i256 %a2, i256 %a3, i256 %a4) nounwind
; CHECK-LABEL: swap_both_no_junk:
; CHECK: ; %bb.0:
; CHECK-NEXT: JUMPDEST
; CHECK-NEXT: SWAP3
; CHECK-NEXT: SWAP2
; CHECK-NEXT: POP
; CHECK-NEXT: POP
; CHECK-NEXT: SUB
; CHECK-NEXT: SWAP1
; CHECK-NEXT: JUMP
%x1 = sub i256 %a1, %a4
%x1 = sub i256 %a4, %a1
ret i256 %x1
}

Expand Down

0 comments on commit 5c856e0

Please sign in to comment.