[test] %clang_cc1: remove redundant actions
ParseFrontendArgs takes the last OPT_Action_Group option. The other actions are overridden.
This commit is contained in:
parent
41574f5a6e
commit
d33937b623
@ -1,10 +1,10 @@
|
||||
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature +vector -emit-llvm \
|
||||
// RUN: | FileCheck %s -check-prefix=VECIR
|
||||
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature +vector -emit-obj -S \
|
||||
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature +vector -S \
|
||||
// RUN: | FileCheck %s -check-prefix=VECASM
|
||||
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature -vector -emit-llvm \
|
||||
// RUN: | FileCheck %s -check-prefix=SCALIR
|
||||
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature -vector -emit-obj -S \
|
||||
// RUN: %clang_cc1 -triple s390x-linux-gnu %s -o - -target-feature -vector -S \
|
||||
// RUN: | FileCheck %s -check-prefix=SCALASM
|
||||
// REQUIRES: systemz-registered-target
|
||||
|
||||
|
@ -38,12 +38,12 @@
|
||||
; CHECK-DIS: ^2 = typeid: (name: "_ZTS1A", summary: (typeTestRes: (kind: allOnes, sizeM1BitWidth: 7), wpdResolutions: ((offset: 0, wpdRes: (kind: branchFunnel)), (offset: 8, wpdRes: (kind: singleImpl, singleImplName: "_ZN1A1nEi"))))) ; guid = 7004155349499253778
|
||||
|
||||
; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu \
|
||||
; RUN: -emit-obj -fthinlto-index=%t.o.thinlto.bc -O2 -Rpass=wholeprogramdevirt \
|
||||
; RUN: -fthinlto-index=%t.o.thinlto.bc -O2 -Rpass=wholeprogramdevirt \
|
||||
; RUN: -emit-llvm -o - -x ir %t.o 2>&1 | FileCheck %s --check-prefixes=CHECK-IR --check-prefixes=REMARKS
|
||||
|
||||
; Check that the devirtualization is suppressed via -wholeprogramdevirt-skip
|
||||
; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu -mllvm -wholeprogramdevirt-skip=_ZN1A1nEi \
|
||||
; RUN: -emit-obj -fthinlto-index=%t.o.thinlto.bc -O2 -Rpass=wholeprogramdevirt \
|
||||
; RUN: -fthinlto-index=%t.o.thinlto.bc -O2 -Rpass=wholeprogramdevirt \
|
||||
; RUN: -emit-llvm -o - -x ir %t.o 2>&1 | FileCheck %s --check-prefixes=SKIP-IR --check-prefixes=SKIP-REMARKS
|
||||
|
||||
; REMARKS: single-impl: devirtualized a call to _ZN1A1nEi
|
||||
|
@ -28,7 +28,7 @@
|
||||
; CHECK-DIS: ^2 = typeid: (name: "_ZTS1A", summary: (typeTestRes: (kind: single, sizeM1BitWidth: 0))) ; guid = 7004155349499253778
|
||||
|
||||
; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu \
|
||||
; RUN: -emit-obj -fthinlto-index=%t.o.thinlto.bc \
|
||||
; RUN: -fthinlto-index=%t.o.thinlto.bc \
|
||||
; RUN: -emit-llvm -o - -x ir %t.o | FileCheck %s --check-prefixes=CHECK-IR
|
||||
|
||||
; Ensure that backend does not fail generating native code.
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 M-Part.cpp \
|
||||
// RUN: -emit-module-interface -o M-Part.pcm
|
||||
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 M-Part.pcm -S \
|
||||
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 M-Part.pcm \
|
||||
// RUN: -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-P
|
||||
|
||||
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 M.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %clang_cc1 -E -fsyntax-only -verify %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
||||
|
||||
// expected-error@+2{{invalid character ')' in raw string delimiter; use PREFIX( )PREFIX to delimit raw string}}
|
||||
// expected-error@+1{{expected expression}}
|
||||
|
@ -21,12 +21,12 @@ module A { header "A.h" export * }
|
||||
|
||||
// RUN: %clang_cc1 -fmodules -emit-module %t/A.modulemap -fmodule-name=A -o %t/A0.pcm \
|
||||
// RUN: -fmodule-map-file=%t/X.modulemap
|
||||
// RUN: %clang_cc1 -fsyntax-only -module-file-info %t/A0.pcm | FileCheck %s --check-prefix=A0 --implicit-check-not=Y.modulemap
|
||||
// RUN: %clang_cc1 -module-file-info %t/A0.pcm | FileCheck %s --check-prefix=A0 --implicit-check-not=Y.modulemap
|
||||
// A0: Input file: {{.*}}X.modulemap
|
||||
|
||||
// RUN: %clang_cc1 -fmodules -emit-module %t/A.modulemap -fmodule-name=A -o %t/A1.pcm \
|
||||
// RUN: -fmodule-map-file=%t/X.modulemap -fmodule-map-file=%t/Y.modulemap
|
||||
// RUN: %clang_cc1 -fsyntax-only -module-file-info %t/A0.pcm | FileCheck %s --check-prefix=A1 \
|
||||
// RUN: %clang_cc1 -module-file-info %t/A0.pcm | FileCheck %s --check-prefix=A1 \
|
||||
// RUN: --implicit-check-not=Y.modulemap
|
||||
// A1: Input file: {{.*}}X.modulemap
|
||||
|
||||
@ -41,6 +41,6 @@ typedef X_int B_int;
|
||||
// RUN: %clang_cc1 -fmodules -emit-module %t/B.modulemap -fmodule-name=B -o %t/B.pcm \
|
||||
// RUN: -fmodule-file=A=%t/A0.pcm \
|
||||
// RUN: -fmodule-map-file=%t/A.modulemap -fmodule-map-file=%t/X.modulemap -fmodule-map-file=%t/Y.modulemap
|
||||
// RUN: %clang_cc1 -fsyntax-only -module-file-info %t/B.pcm | FileCheck %s --check-prefix=B \
|
||||
// RUN: %clang_cc1 -module-file-info %t/B.pcm | FileCheck %s --check-prefix=B \
|
||||
// RUN: --implicit-check-not=X.modulemap --implicit-check-not=Y.modulemap
|
||||
// B: Input file: {{.*}}B.modulemap
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fsyntax-only -std=c99 -pedantic-errors %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -std=c99 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -std=c99 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -std=c99 -pedantic-errors -include-pch %t %s
|
||||
|
||||
// RUN: %clang_cc1 -fsyntax-only -std=c99 -pedantic-errors -DINCLUDED %s -verify
|
||||
|
@ -1,7 +1,7 @@
|
||||
// RUN: %clang_cc1 -x c++ -fms-extensions -fsyntax-only -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -fms-extensions -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -fms-extensions -fsyntax-only -include-pch %t %s -verify
|
||||
|
||||
// RUN: %clang_cc1 -x c++ -fms-extensions -fsyntax-only -emit-pch -fpch-instantiate-templates -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -fms-extensions -emit-pch -fpch-instantiate-templates -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -fms-extensions -fsyntax-only -include-pch %t %s -verify
|
||||
|
||||
#ifndef HEADER
|
||||
|
Loading…
x
Reference in New Issue
Block a user