The -mno-omit-leaf-frame-pointer flag works on 32-bit ARM architectures and addresses the bug reported in #108019
7 lines
206 B
LLVM
7 lines
206 B
LLVM
; RUN: llc < %s -mtriple=thumbv7-apple-darwin -frame-pointer=none | not grep mov
|
|
; RUN: llc < %s -mtriple=thumbv7-linux -frame-pointer=none | not grep mov
|
|
|
|
define void @t() nounwind readnone {
|
|
ret void
|
|
}
|