reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
; RUN: llc < %s -march=msp430

target triple = "msp430"

define void @foo() {
entry:
  %0 = tail call i8* @llvm.stacksave()
  tail call void @llvm.stackrestore(i8* %0)
  ret void
}

declare i8* @llvm.stacksave()
declare void @llvm.stackrestore(i8*)