llvm-for-llvmta/test/CodeGen/Hexagon/vararg-deallocate-sp.ll

14 lines
326 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -march=hexagon -mtriple=hexagon-unknown-linux-musl < %s | FileCheck %s
; Test that the compiler deallocates the register saved area on Linux
; for functions that do not need a frame pointer.
; CHECK: r29 = add(r29,#-[[SIZE:[0-9]+]]
; CHECK: r29 = add(r29,#[[SIZE]])
define void @test(...) {
entry:
ret void
}