bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Hexagon/vararg-deallocate-sp.ll
2025-02-14 19:21:04 +01:00

13 lines
326 B
LLVM

; 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
}