
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
13 lines
381 B
LLVM
13 lines
381 B
LLVM
; Verify that the module triple is overridden by the driver - even when the
|
|
; module triple is missing.
|
|
; NOTE: At the time of writing, the tested behaviour was consistent with Clang
|
|
|
|
; RUN: %flang_fc1 -S %s -o - 2>&1 | FileCheck %s
|
|
; RUN: %flang -S %s -o - 2>&1 | FileCheck %s
|
|
|
|
; CHECK: warning: overriding the module target triple with {{.*}}
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|