
Uses of these markers are contrary to all other llvm-project subprojects and carry no information for people who know the basics of a lit test. I understand that there is an argument "this makes beginners get started quickly" but I am unsure whether this is strong enough to deviate from all other projects. https://llvm.org/docs/TestingGuide.html covers the basics. Actually, some contributors were confused by the markers. Differential Revision: https://reviews.llvm.org/D128763
21 lines
548 B
LLVM
21 lines
548 B
LLVM
; Verify that the driver can consume LLVM BC files.
|
|
|
|
; REQUIRES: aarch64-registered-target
|
|
|
|
; RUN: rm -f %t.bc
|
|
; RUN: %flang_fc1 -triple aarch64-unknown-linux-gnu -emit-llvm-bc %s -o %t.bc
|
|
; RUN: %flang_fc1 -S -triple aarch64-unknown-linux-gnu -o - %t.bc | FileCheck %s
|
|
; RUN: rm -f %t.bc
|
|
|
|
; RUN: rm -f %t.bc
|
|
; RUN: %flang -c -target aarch64-unknown-linux-gnu -emit-llvm %s -o %t.bc
|
|
; RUN: %flang -S -target aarch64-unknown-linux-gnu -o - %t.bc | FileCheck %s
|
|
; RUN: rm -f %t.bc
|
|
|
|
; CHECK-LABEL: foo:
|
|
; CHECK: ret
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|