16 lines
352 B
LLVM
16 lines
352 B
LLVM
|
; REQUIRES: powerpc-registered-target
|
||
|
; RUN: rm -rf %t && mkdir %t && cd %t
|
||
|
; RUN: llvm-as < %s > %t1
|
||
|
; RUN: llvm-lto %t1 | FileCheck %s
|
||
|
|
||
|
; Test system assembler.
|
||
|
; RUN: %if system-aix %{ llvm-lto -no-integrated-as=1 %t1 | FileCheck %s %}
|
||
|
|
||
|
target triple = "powerpc-ibm-aix"
|
||
|
|
||
|
define i32 @main() {
|
||
|
entry:
|
||
|
ret i32 42
|
||
|
}
|
||
|
; CHECK: Wrote native object file
|