llvm-project/llvm/test/CodeGen/MSP430/stacksave_restore.ll
Fangrui Song 171056ff57 [M68k,MSP430,test] Change llc -march= to -mtriple=
Similar to 806761a7629df268c8aed49657aeccffa6bca449
2024-12-15 10:09:30 -08:00

14 lines
251 B
LLVM

; RUN: llc < %s -mtriple=msp430
target triple = "msp430"
define void @foo() {
entry:
%0 = tail call ptr @llvm.stacksave()
tail call void @llvm.stackrestore(ptr %0)
ret void
}
declare ptr @llvm.stacksave()
declare void @llvm.stackrestore(ptr)