mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Provide an implementation of getNoopForMachoTarget for SPARC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
8
test/CodeGen/SPARC/empty-functions.ll
Normal file
8
test/CodeGen/SPARC/empty-functions.ll
Normal file
@@ -0,0 +1,8 @@
|
||||
; RUN: llc < %s -mtriple=sparc-unknown-openbsd -disable-fp-elim | FileCheck -check-prefix=CHECK-FP-LABEL %s
|
||||
|
||||
define void @func() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
; CHECK-FP-LABEL: {{_?}}func:
|
||||
; CHECK-FP-LABEL: nop {{[;!]}} avoids zero-length function
|
Reference in New Issue
Block a user