Index: test/CodeGen/AArch64/128bit_load_store.ll =================================================================== --- test/CodeGen/AArch64/128bit_load_store.ll +++ test/CodeGen/AArch64/128bit_load_store.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=neon | FileCheck %s --check-prefix=CHECK +; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=neon | FileCheck %s define void @test_store_f128(fp128* %ptr, fp128 %val) #0 { ; CHECK-LABEL: test_store_f128 Index: test/CodeGen/AArch64/alloca.ll =================================================================== --- test/CodeGen/AArch64/alloca.ll +++ test/CodeGen/AArch64/alloca.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=aarch64-linux-gnu -disable-post-ra -verify-machineinstrs -o - %s | FileCheck %s --check-prefix=CHECK +; RUN: llc -mtriple=aarch64-linux-gnu -disable-post-ra -verify-machineinstrs -o - %s | FileCheck %s ; RUN: llc -mtriple=arm64-apple-ios -disable-post-ra -verify-machineinstrs -o - %s | FileCheck %s --check-prefix=CHECK-MACHO ; RUN: llc -mtriple=aarch64-none-linux-gnu -disable-post-ra -mattr=-fp-armv8 -verify-machineinstrs < %s | FileCheck --check-prefix=CHECK-NOFP-ARM64 %s Index: test/CodeGen/AArch64/atomic-ops.ll =================================================================== --- test/CodeGen/AArch64/atomic-ops.ll +++ test/CodeGen/AArch64/atomic-ops.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=aarch64-none-linux-gnu -disable-post-ra -verify-machineinstrs < %s | FileCheck %s --check-prefix=CHECK +; RUN: llc -mtriple=aarch64-none-linux-gnu -disable-post-ra -verify-machineinstrs < %s | FileCheck %s ; RUN: llc -mtriple=aarch64-none-linux-gnu -disable-post-ra -verify-machineinstrs < %s | FileCheck %s --check-prefix=CHECK-REG Index: test/CodeGen/AArch64/bitfield-insert.ll =================================================================== --- test/CodeGen/AArch64/bitfield-insert.ll +++ test/CodeGen/AArch64/bitfield-insert.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s --check-prefix=CHECK +; RUN: llc -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s ; First, a simple example from Clang. The registers could plausibly be ; different, but probably won't be. Index: test/CodeGen/AArch64/bitfield.ll =================================================================== --- test/CodeGen/AArch64/bitfield.ll +++ test/CodeGen/AArch64/bitfield.ll @@ -1,4 +1,4 @@ -; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s --check-prefix=CHECK +; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s @var32 = global i32 0 @var64 = global i64 0 Index: test/CodeGen/AArch64/cond-sel.ll =================================================================== --- test/CodeGen/AArch64/cond-sel.ll +++ test/CodeGen/AArch64/cond-sel.ll @@ -1,4 +1,4 @@ -; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -mcpu=cyclone | FileCheck %s --check-prefix=CHECK +; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -mcpu=cyclone | FileCheck %s ; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -mattr=-fp-armv8 | FileCheck --check-prefix=CHECK-NOFP %s @var32 = global i32 0 Index: test/CodeGen/AArch64/cxx-tlscc.ll =================================================================== --- test/CodeGen/AArch64/cxx-tlscc.ll +++ test/CodeGen/AArch64/cxx-tlscc.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -mtriple=aarch64-apple-ios | FileCheck %s -; RUN: llc < %s -mtriple=aarch64-apple-ios -enable-shrink-wrap=true | FileCheck --check-prefix=CHECK %s +; RUN: llc < %s -mtriple=aarch64-apple-ios -enable-shrink-wrap=true | FileCheck %s ; Shrink wrapping currently does not kick in because we have a TLS CALL ; in the entry block and it will clobber the link register. Index: test/CodeGen/AArch64/directcond.ll =================================================================== --- test/CodeGen/AArch64/directcond.ll +++ test/CodeGen/AArch64/directcond.ll @@ -1,4 +1,4 @@ -; RUN: llc -verify-machineinstrs -o - %s -mtriple=arm64-apple-ios7.0 -aarch64-atomic-cfg-tidy=0 | FileCheck %s --check-prefix=CHECK +; RUN: llc -verify-machineinstrs -o - %s -mtriple=arm64-apple-ios7.0 -aarch64-atomic-cfg-tidy=0 | FileCheck %s ; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -mattr=-fp-armv8 -aarch64-atomic-cfg-tidy=0 | FileCheck --check-prefix=CHECK-NOFP %s define i32 @test_select_i32(i1 %bit, i32 %a, i32 %b) { Index: test/CodeGen/AArch64/fast-isel-tbz.ll =================================================================== --- test/CodeGen/AArch64/fast-isel-tbz.ll +++ test/CodeGen/AArch64/fast-isel-tbz.ll @@ -1,4 +1,4 @@ -; RUN: llc -disable-peephole -aarch64-atomic-cfg-tidy=0 -verify-machineinstrs -mtriple=aarch64-apple-darwin < %s | FileCheck --check-prefix=CHECK %s +; RUN: llc -disable-peephole -aarch64-atomic-cfg-tidy=0 -verify-machineinstrs -mtriple=aarch64-apple-darwin < %s | FileCheck %s ; RUN: llc -disable-peephole -fast-isel -fast-isel-abort=1 -aarch64-atomic-cfg-tidy=0 -verify-machineinstrs -mtriple=aarch64-apple-darwin < %s | FileCheck --check-prefix=CHECK --check-prefix=FAST %s define i32 @icmp_eq_i8(i8 zeroext %a) { Index: test/CodeGen/AArch64/fp-cond-sel.ll =================================================================== --- test/CodeGen/AArch64/fp-cond-sel.ll +++ test/CodeGen/AArch64/fp-cond-sel.ll @@ -1,4 +1,4 @@ -; RUN: llc -verify-machineinstrs -o - %s -mtriple=aarch64-none-linux-gnu -mcpu=cyclone | FileCheck %s --check-prefix=CHECK +; RUN: llc -verify-machineinstrs -o - %s -mtriple=aarch64-none-linux-gnu -mcpu=cyclone | FileCheck %s @varfloat = global float 0.0 @vardouble = global double 0.0 Index: test/CodeGen/AArch64/func-argpassing.ll =================================================================== --- test/CodeGen/AArch64/func-argpassing.ll +++ test/CodeGen/AArch64/func-argpassing.ll @@ -1,4 +1,4 @@ -; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -disable-post-ra | FileCheck --check-prefix=CHECK %s +; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -disable-post-ra | FileCheck %s ; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -mattr=-fp-armv8 -disable-post-ra | FileCheck --check-prefix=CHECK-NOFP %s %myStruct = type { i64 , i8, i32 } Index: test/CodeGen/AArch64/func-calls.ll =================================================================== --- test/CodeGen/AArch64/func-calls.ll +++ test/CodeGen/AArch64/func-calls.ll @@ -1,4 +1,4 @@ -; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s --check-prefix=CHECK +; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s ; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -mattr=-neon | FileCheck --check-prefix=CHECK-NONEON %s ; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -mattr=-fp-armv8 | FileCheck --check-prefix=CHECK-NOFP %s ; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64_be-none-linux-gnu | FileCheck --check-prefix=CHECK-BE %s Index: test/CodeGen/AArch64/movw-consts.ll =================================================================== --- test/CodeGen/AArch64/movw-consts.ll +++ test/CodeGen/AArch64/movw-consts.ll @@ -1,4 +1,4 @@ -; RUN: llc -verify-machineinstrs -o - %s -mtriple=arm64-apple-ios7.0 | FileCheck %s --check-prefix=CHECK +; RUN: llc -verify-machineinstrs -o - %s -mtriple=arm64-apple-ios7.0 | FileCheck %s define i64 @test0() { ; CHECK-LABEL: test0: Index: test/CodeGen/AArch64/neon-mov.ll =================================================================== --- test/CodeGen/AArch64/neon-mov.ll +++ test/CodeGen/AArch64/neon-mov.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s --check-prefix=CHECK +; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s define <8 x i8> @movi8b() { ; CHECK-LABEL: movi8b: Index: test/CodeGen/AArch64/neon-perm.ll =================================================================== --- test/CodeGen/AArch64/neon-perm.ll +++ test/CodeGen/AArch64/neon-perm.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s --check-prefix=CHECK +; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s %struct.int8x8x2_t = type { [2 x <8 x i8>] } %struct.int16x4x2_t = type { [2 x <4 x i16>] } Index: test/CodeGen/AMDGPU/store-barrier.ll =================================================================== --- test/CodeGen/AMDGPU/store-barrier.ll +++ test/CodeGen/AMDGPU/store-barrier.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs -mattr=+load-store-opt -enable-misched < %s | FileCheck --check-prefix=CHECK %s -; RUN: llc -march=amdgcn -mcpu=bonaire -verify-machineinstrs -mattr=+load-store-opt -enable-misched < %s | FileCheck --check-prefix=CHECK %s +; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs -mattr=+load-store-opt -enable-misched < %s | FileCheck %s +; RUN: llc -march=amdgcn -mcpu=bonaire -verify-machineinstrs -mattr=+load-store-opt -enable-misched < %s | FileCheck %s ; This test is for a bug in the machine scheduler where stores without ; an underlying object would be moved across the barrier. In this Index: test/CodeGen/AMDGPU/uniform-loop-inside-nonuniform.ll =================================================================== --- test/CodeGen/AMDGPU/uniform-loop-inside-nonuniform.ll +++ test/CodeGen/AMDGPU/uniform-loop-inside-nonuniform.ll @@ -1,4 +1,4 @@ -;RUN: llc -march=amdgcn -mcpu=verde < %s | FileCheck %s --check-prefix=CHECK +;RUN: llc -march=amdgcn -mcpu=verde < %s | FileCheck %s ; Test a simple uniform loop that lives inside non-uniform control flow. Index: test/CodeGen/ARM/cxx-tlscc.ll =================================================================== --- test/CodeGen/ARM/cxx-tlscc.ll +++ test/CodeGen/ARM/cxx-tlscc.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -mtriple=armv7k-apple-watchos2.0 | FileCheck %s -; RUN: llc < %s -mtriple=armv7k-apple-watchos2.0 -enable-shrink-wrap=true | FileCheck --check-prefix=CHECK %s +; RUN: llc < %s -mtriple=armv7k-apple-watchos2.0 -enable-shrink-wrap=true | FileCheck %s ; RUN: llc < %s -mtriple=armv7-apple-ios8.0 | FileCheck %s -; RUN: llc < %s -mtriple=armv7-apple-ios8.0 -enable-shrink-wrap=true | FileCheck --check-prefix=CHECK %s +; RUN: llc < %s -mtriple=armv7-apple-ios8.0 -enable-shrink-wrap=true | FileCheck %s ; RUN: llc < %s -mtriple=armv7k-apple-watchos2.0 -O0 | FileCheck --check-prefix=CHECK-O0 --check-prefix=WATCH-O0 %s ; RUN: llc < %s -mtriple=armv7-apple-ios8.0 -O0 | FileCheck --check-prefix=CHECK-O0 --check-prefix=IOS-O0 %s Index: test/CodeGen/ARM/fp16-v3.ll =================================================================== --- test/CodeGen/ARM/fp16-v3.ll +++ test/CodeGen/ARM/fp16-v3.ll @@ -1,4 +1,4 @@ -; RUN: llc -mattr=+fp16 < %s | FileCheck %s --check-prefix=CHECK +; RUN: llc -mattr=+fp16 < %s | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "armv7a--none-eabi" Index: test/CodeGen/ARM/zero-cycle-zero.ll =================================================================== --- test/CodeGen/ARM/zero-cycle-zero.ll +++ test/CodeGen/ARM/zero-cycle-zero.ll @@ -1,5 +1,5 @@ ; RUN: llc -mtriple=armv8 -mcpu=cyclone < %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOTSWIFT -; RUN: llc -mtriple=armv8 -mcpu=swift < %s | FileCheck %s --check-prefix=CHECK +; RUN: llc -mtriple=armv8 -mcpu=swift < %s | FileCheck %s ; RUN: llc -mtriple=armv8 -mcpu=cortex-a57 < %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOTSWIFT declare arm_aapcs_vfpcc void @take_vec64(<2 x i32>) Index: test/CodeGen/Mips/const-mult.ll =================================================================== --- test/CodeGen/Mips/const-mult.ll +++ test/CodeGen/Mips/const-mult.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefix=CHECK +; RUN: llc -march=mipsel < %s | FileCheck %s ; RUN: llc -march=mips64el < %s | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK64 ; CHECK-LABEL: mul5_32: Index: test/CodeGen/PowerPC/BreakableToken-reduced.ll =================================================================== --- test/CodeGen/PowerPC/BreakableToken-reduced.ll +++ test/CodeGen/PowerPC/BreakableToken-reduced.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -enable-shrink-wrap=true %s -o - | FileCheck %s --check-prefix=CHECK +; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -enable-shrink-wrap=true %s -o - | FileCheck %s ; ; Test the use of a non-R0 register to save/restore the LR in function ; prologue/epilogue. Index: test/CodeGen/PowerPC/atomics-fences.ll =================================================================== --- test/CodeGen/PowerPC/atomics-fences.ll +++ test/CodeGen/PowerPC/atomics-fences.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc32 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK -; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc64 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK +; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc32 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc64 -verify-machineinstrs | FileCheck %s ; RUN: llc < %s -mtriple=powerpc-apple-darwin -mcpu=440 | FileCheck %s --check-prefix=PPC440 ; Fences Index: test/CodeGen/SystemZ/alloca-01.ll =================================================================== --- test/CodeGen/SystemZ/alloca-01.ll +++ test/CodeGen/SystemZ/alloca-01.ll @@ -1,7 +1,7 @@ ; Test variable-sized allocas and addresses based on them in cases where ; stack arguments are needed. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-A ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-B ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-C Index: test/CodeGen/SystemZ/atomicrmw-add-01.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-add-01.ll +++ test/CodeGen/SystemZ/atomicrmw-add-01.ll @@ -1,6 +1,6 @@ ; Test 8-bit atomic additions. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-add-02.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-add-02.ll +++ test/CodeGen/SystemZ/atomicrmw-add-02.ll @@ -1,6 +1,6 @@ ; Test 16-bit atomic additions. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-and-01.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-and-01.ll +++ test/CodeGen/SystemZ/atomicrmw-and-01.ll @@ -1,6 +1,6 @@ ; Test 8-bit atomic ANDs. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-and-02.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-and-02.ll +++ test/CodeGen/SystemZ/atomicrmw-and-02.ll @@ -1,6 +1,6 @@ ; Test 16-bit atomic ANDs. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-minmax-01.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-minmax-01.ll +++ test/CodeGen/SystemZ/atomicrmw-minmax-01.ll @@ -1,6 +1,6 @@ ; Test 8-bit atomic min/max operations. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-minmax-02.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-minmax-02.ll +++ test/CodeGen/SystemZ/atomicrmw-minmax-02.ll @@ -1,6 +1,6 @@ ; Test 8-bit atomic min/max operations. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-nand-01.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-nand-01.ll +++ test/CodeGen/SystemZ/atomicrmw-nand-01.ll @@ -1,6 +1,6 @@ ; Test 8-bit atomic NANDs. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-nand-02.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-nand-02.ll +++ test/CodeGen/SystemZ/atomicrmw-nand-02.ll @@ -1,6 +1,6 @@ ; Test 16-bit atomic NANDs. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-or-01.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-or-01.ll +++ test/CodeGen/SystemZ/atomicrmw-or-01.ll @@ -1,6 +1,6 @@ ; Test 8-bit atomic ORs. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-or-02.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-or-02.ll +++ test/CodeGen/SystemZ/atomicrmw-or-02.ll @@ -1,6 +1,6 @@ ; Test 16-bit atomic ORs. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-sub-01.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-sub-01.ll +++ test/CodeGen/SystemZ/atomicrmw-sub-01.ll @@ -1,6 +1,6 @@ ; Test 8-bit atomic subtractions. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-sub-02.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-sub-02.ll +++ test/CodeGen/SystemZ/atomicrmw-sub-02.ll @@ -1,6 +1,6 @@ ; Test 16-bit atomic subtractions. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-xchg-01.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-xchg-01.ll +++ test/CodeGen/SystemZ/atomicrmw-xchg-01.ll @@ -1,6 +1,6 @@ ; Test 8-bit atomic exchange. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT ; Check exchange with a variable. Index: test/CodeGen/SystemZ/atomicrmw-xchg-02.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-xchg-02.ll +++ test/CodeGen/SystemZ/atomicrmw-xchg-02.ll @@ -1,6 +1,6 @@ ; Test 16-bit atomic exchange. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT ; Check exchange with a variable. Index: test/CodeGen/SystemZ/atomicrmw-xor-01.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-xor-01.ll +++ test/CodeGen/SystemZ/atomicrmw-xor-01.ll @@ -1,6 +1,6 @@ ; Test 8-bit atomic XORs. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/SystemZ/atomicrmw-xor-02.ll =================================================================== --- test/CodeGen/SystemZ/atomicrmw-xor-02.ll +++ test/CodeGen/SystemZ/atomicrmw-xor-02.ll @@ -1,6 +1,6 @@ ; Test 16-bit atomic XORs. ; -; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT2 Index: test/CodeGen/X86/code_placement_cold_loop_blocks.ll =================================================================== --- test/CodeGen/X86/code_placement_cold_loop_blocks.ll +++ test/CodeGen/X86/code_placement_cold_loop_blocks.ll @@ -1,4 +1,4 @@ -; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s -check-prefix=CHECK +; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s define void @foo() !prof !1 { ; Test if a cold block in a loop will be placed at the end of the function Index: test/CodeGen/X86/code_placement_ignore_succ_in_inner_loop.ll =================================================================== --- test/CodeGen/X86/code_placement_ignore_succ_in_inner_loop.ll +++ test/CodeGen/X86/code_placement_ignore_succ_in_inner_loop.ll @@ -1,4 +1,4 @@ -; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s -check-prefix=CHECK +; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s define void @foo() { ; Test that when determining the edge probability from a node in an inner loop Index: test/CodeGen/X86/code_placement_loop_rotation.ll =================================================================== --- test/CodeGen/X86/code_placement_loop_rotation.ll +++ test/CodeGen/X86/code_placement_loop_rotation.ll @@ -1,4 +1,4 @@ -; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s -check-prefix=CHECK +; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s ; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux -precise-rotation-cost < %s | FileCheck %s -check-prefix=CHECK-PROFILE define void @foo() { Index: test/CodeGen/X86/code_placement_loop_rotation2.ll =================================================================== --- test/CodeGen/X86/code_placement_loop_rotation2.ll +++ test/CodeGen/X86/code_placement_loop_rotation2.ll @@ -1,4 +1,4 @@ -; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s -check-prefix=CHECK +; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s ; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux -precise-rotation-cost < %s | FileCheck %s -check-prefix=CHECK-PROFILE define void @foo() { Index: test/CodeGen/X86/code_placement_outline_optional_branches.ll =================================================================== --- test/CodeGen/X86/code_placement_outline_optional_branches.ll +++ test/CodeGen/X86/code_placement_outline_optional_branches.ll @@ -1,4 +1,4 @@ -; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s -check-prefix=CHECK +; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux < %s | FileCheck %s ; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux -outline-optional-branches < %s | FileCheck %s -check-prefix=CHECK-OUTLINE define void @foo(i32 %t1, i32 %t2, i32 %t3) { Index: test/CodeGen/X86/pop-stack-cleanup.ll =================================================================== --- test/CodeGen/X86/pop-stack-cleanup.ll +++ test/CodeGen/X86/pop-stack-cleanup.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=i686-windows | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=i686-windows | FileCheck %s ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=LINUX64 declare void @param1(i32 %a) Index: test/CodeGen/X86/sink-cheap-instructions.ll =================================================================== --- test/CodeGen/X86/sink-cheap-instructions.ll +++ test/CodeGen/X86/sink-cheap-instructions.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s ; RUN: llc < %s -mtriple=x86_64-linux -sink-insts-to-avoid-spills | FileCheck %s -check-prefix=SINK ; Ensure that we sink copy-like instructions into loops to avoid register Index: test/CodeGen/X86/stack_guard_remat.ll =================================================================== --- test/CodeGen/X86/stack_guard_remat.ll +++ test/CodeGen/X86/stack_guard_remat.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=x86_64-apple-darwin -no-integrated-as | FileCheck %s -check-prefix=CHECK +; RUN: llc < %s -mtriple=x86_64-apple-darwin -no-integrated-as | FileCheck %s ;CHECK: foo2 ;CHECK: movq ___stack_chk_guard@GOTPCREL(%rip), [[R0:%[a-z0-9]+]] Index: test/CodeGen/X86/switch-jump-table.ll =================================================================== --- test/CodeGen/X86/switch-jump-table.ll +++ test/CodeGen/X86/switch-jump-table.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=i686-pc-gnu-linux < %s | FileCheck %s -check-prefix=CHECK +; RUN: llc -mtriple=i686-pc-gnu-linux < %s | FileCheck %s ; RUN: llc -mtriple=i686-pc-gnu-linux -print-machineinstrs=expand-isel-pseudos %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=CHECK-JT-PROB Index: test/CodeGen/X86/x86-shrink-wrap-unwind.ll =================================================================== --- test/CodeGen/X86/x86-shrink-wrap-unwind.ll +++ test/CodeGen/X86/x86-shrink-wrap-unwind.ll @@ -1,4 +1,4 @@ -; RUN: llc %s -o - | FileCheck %s --check-prefix=CHECK +; RUN: llc %s -o - | FileCheck %s ; ; Note: This test cannot be merged with the shrink-wrapping tests ; because the booleans set on the command line take precedence on Index: test/DebugInfo/ARM/tls.ll =================================================================== --- test/DebugInfo/ARM/tls.ll +++ test/DebugInfo/ARM/tls.ll @@ -1,5 +1,5 @@ ; RUN: llc -O0 -filetype=asm -mtriple=armv7-linux-gnuehabi < %s \ -; RUN: | FileCheck %s --check-prefix=CHECK +; RUN: | FileCheck %s ; RUN: llc -O0 -filetype=asm -mtriple=armv7-linux-gnuehabi -emulated-tls < %s \ ; RUN: | FileCheck %s --check-prefix=EMU Index: test/Instrumentation/AddressSanitizer/do-not-instrument-promotable-allocas.ll =================================================================== --- test/Instrumentation/AddressSanitizer/do-not-instrument-promotable-allocas.ll +++ test/Instrumentation/AddressSanitizer/do-not-instrument-promotable-allocas.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -asan -asan-module -asan-instrument-allocas=1 -S | FileCheck %s --check-prefix=CHECK +; RUN: opt < %s -asan -asan-module -asan-instrument-allocas=1 -S | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.10.0" Index: test/Instrumentation/SanitizerCoverage/cmp-tracing.ll =================================================================== --- test/Instrumentation/SanitizerCoverage/cmp-tracing.ll +++ test/Instrumentation/SanitizerCoverage/cmp-tracing.ll @@ -1,5 +1,5 @@ ; Test -sanitizer-coverage-experimental-trace-compares=1 -; RUN: opt < %s -sancov -sanitizer-coverage-level=1 -sanitizer-coverage-experimental-trace-compares=1 -S | FileCheck %s --check-prefix=CHECK +; RUN: opt < %s -sancov -sanitizer-coverage-level=1 -sanitizer-coverage-experimental-trace-compares=1 -S | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-unknown-linux-gnu" Index: test/Instrumentation/SanitizerCoverage/switch-tracing.ll =================================================================== --- test/Instrumentation/SanitizerCoverage/switch-tracing.ll +++ test/Instrumentation/SanitizerCoverage/switch-tracing.ll @@ -1,5 +1,5 @@ ; Test -sanitizer-coverage-experimental-trace-compares=1 (instrumenting a switch) -; RUN: opt < %s -sancov -sanitizer-coverage-level=1 -sanitizer-coverage-experimental-trace-compares=1 -S | FileCheck %s --check-prefix=CHECK +; RUN: opt < %s -sancov -sanitizer-coverage-level=1 -sanitizer-coverage-experimental-trace-compares=1 -S | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-unknown-linux-gnu" Index: test/MC/ARM/eh-directive-pad-diagnostics.s =================================================================== --- test/MC/ARM/eh-directive-pad-diagnostics.s +++ test/MC/ARM/eh-directive-pad-diagnostics.s @@ -1,5 +1,5 @@ @ RUN: not llvm-mc -triple=armv7-unknown-linux-gnueabi < %s 2> %t -@ RUN: FileCheck --check-prefix=CHECK < %t %s +@ RUN: FileCheck < %t %s @ Check the diagnostics for .pad directive. Index: test/MC/ARM/eh-directive-personality-diagnostics.s =================================================================== --- test/MC/ARM/eh-directive-personality-diagnostics.s +++ test/MC/ARM/eh-directive-personality-diagnostics.s @@ -1,5 +1,5 @@ @ RUN: not llvm-mc -triple=armv7-unknown-linux-gnueabi < %s 2> %t -@ RUN: FileCheck --check-prefix=CHECK < %t %s +@ RUN: FileCheck < %t %s @ Check the diagnostics for .personality directive. Index: test/MC/ARM/eh-directive-save-diagnostics.s =================================================================== --- test/MC/ARM/eh-directive-save-diagnostics.s +++ test/MC/ARM/eh-directive-save-diagnostics.s @@ -1,5 +1,5 @@ @ RUN: not llvm-mc -triple=armv7-unknown-linux-gnueabi < %s 2> %t -@ RUN: FileCheck --check-prefix=CHECK < %t %s +@ RUN: FileCheck < %t %s @ Check the diagnostics for .save directive Index: test/MC/ARM/eh-directive-setfp-diagnostics.s =================================================================== --- test/MC/ARM/eh-directive-setfp-diagnostics.s +++ test/MC/ARM/eh-directive-setfp-diagnostics.s @@ -1,5 +1,5 @@ @ RUN: not llvm-mc -triple=armv7-unknown-linux-gnueabi < %s 2> %t -@ RUN: FileCheck --check-prefix=CHECK < %t %s +@ RUN: FileCheck < %t %s @ Check the diagnostics for .setfp directive. Index: test/MC/ARM/eh-directive-vsave-diagnostics.s =================================================================== --- test/MC/ARM/eh-directive-vsave-diagnostics.s +++ test/MC/ARM/eh-directive-vsave-diagnostics.s @@ -1,5 +1,5 @@ @ RUN: not llvm-mc -triple=armv7-unknown-linux-gnueabi < %s 2> %t -@ RUN: FileCheck --check-prefix=CHECK < %t %s +@ RUN: FileCheck < %t %s @ Check the diagnostics for .vsave directive Index: test/MC/ARM/thumb2-ldrb-ldrh.s =================================================================== --- test/MC/ARM/thumb2-ldrb-ldrh.s +++ test/MC/ARM/thumb2-ldrb-ldrh.s @@ -1,5 +1,5 @@ -@ RUN: not llvm-mc -triple thumbv7a-none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK -@ RUN: not llvm-mc -triple thumbv7m-none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK +@ RUN: not llvm-mc -triple thumbv7a-none-eabi -show-encoding < %s 2>&1 | FileCheck %s +@ RUN: not llvm-mc -triple thumbv7m-none-eabi -show-encoding < %s 2>&1 | FileCheck %s @ Thumb2 LDRS?[BH] are not valid when Rt == PC (these encodings are used for @ preload hints). Index: test/MC/AsmParser/expr-shr.s =================================================================== --- test/MC/AsmParser/expr-shr.s +++ test/MC/AsmParser/expr-shr.s @@ -1,5 +1,5 @@ -// RUN: llvm-mc -triple x86_64-unknown-unknown-elf %s | FileCheck %s --check-prefix=CHECK -// RUN: llvm-mc -triple x86_64-unknown-darwin %s | FileCheck %s --check-prefix=CHECK +// RUN: llvm-mc -triple x86_64-unknown-unknown-elf %s | FileCheck %s +// RUN: llvm-mc -triple x86_64-unknown-darwin %s | FileCheck %s // RUN: llvm-mc -triple x86_64-pc-windows-msvc %s | FileCheck %s --check-prefix=MSVC .data Index: test/MC/Disassembler/ARM/invalid-thumb-MSR-MClass.txt =================================================================== --- test/MC/Disassembler/ARM/invalid-thumb-MSR-MClass.txt +++ test/MC/Disassembler/ARM/invalid-thumb-MSR-MClass.txt @@ -1,4 +1,4 @@ -# RUN: not llvm-mc -disassemble %s -triple=thumbv7em 2>&1 | FileCheck --check-prefix=CHECK %s +# RUN: not llvm-mc -disassemble %s -triple=thumbv7em 2>&1 | FileCheck %s # RUN: not llvm-mc -disassemble %s -triple=thumbv7m 2>&1 | FileCheck --check-prefix=CHECK --check-prefix=CHECK-V7M %s #------------------------------------------------------------------------------ Index: test/MC/Mips/micromips-func-addr.s =================================================================== --- test/MC/Mips/micromips-func-addr.s +++ test/MC/Mips/micromips-func-addr.s @@ -1,6 +1,6 @@ # RUN: llvm-mc %s -filetype=obj -triple=mipsel-unknown-linux \ # RUN: -mattr=micromips | llvm-readobj -r \ -# RUN: | FileCheck %s -check-prefix=CHECK +# RUN: | FileCheck %s # CHECK: Relocations [ # CHECK: 0x0 R_MIPS_32 bar 0x0 # CHECK: 0x4 R_MIPS_32 L1 0x0 Index: test/MC/Mips/mips-cop0-reginfo.s =================================================================== --- test/MC/Mips/mips-cop0-reginfo.s +++ test/MC/Mips/mips-cop0-reginfo.s @@ -1,6 +1,6 @@ # RUN: llvm-mc -arch=mips -mcpu=mips32r2 -filetype=obj %s -o - | \ # RUN: llvm-readobj -sections -section-data - | \ -# RUN: FileCheck %s -check-prefix=CHECK +# RUN: FileCheck %s mfc0 $16, $15, 1 mfc0 $16, $16, 1 Index: test/Transforms/IndVarSimplify/sink-trapping.ll =================================================================== --- test/Transforms/IndVarSimplify/sink-trapping.ll +++ test/Transforms/IndVarSimplify/sink-trapping.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -indvars -S | FileCheck %s --check-prefix=CHECK +; RUN: opt < %s -indvars -S | FileCheck %s declare i1 @b() Index: test/Transforms/SimplifyCFG/switch_create.ll =================================================================== --- test/Transforms/SimplifyCFG/switch_create.ll +++ test/Transforms/SimplifyCFG/switch_create.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -simplifycfg < %s | FileCheck -check-prefix=CHECK %s +; RUN: opt -S -simplifycfg < %s | FileCheck %s ; RUN: opt -S -default-data-layout="p:32:32-p1:16:16" -simplifycfg < %s | FileCheck -check-prefix=CHECK -check-prefix=DL %s declare void @foo1() Index: test/tools/llvm-profdata/c-general.test =================================================================== --- test/tools/llvm-profdata/c-general.test +++ test/tools/llvm-profdata/c-general.test @@ -9,7 +9,7 @@ REGENERATE: $ clang -o a.out -fprofile-instr-generate $CFE_TESTDIR/c-general.c REGENERATE: $ LLVM_PROFILE_FILE=$TESTDIR/Inputs/c-general.profraw ./a.out -RUN: llvm-profdata show %p/Inputs/c-general.profraw -o - | FileCheck %s -check-prefix=CHECK +RUN: llvm-profdata show %p/Inputs/c-general.profraw -o - | FileCheck %s RUN: llvm-profdata show %p/Inputs/c-general.profraw -o - --function=switches | FileCheck %s -check-prefix=SWITCHES -check-prefix=CHECK SWITCHES-LABEL: Counters: Index: test/tools/llvm-symbolizer/pdb/pdb.test =================================================================== --- test/tools/llvm-symbolizer/pdb/pdb.test +++ test/tools/llvm-symbolizer/pdb/pdb.test @@ -1,6 +1,6 @@ RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \ RUN: | llvm-symbolizer -obj="%p/Inputs/test.exe" \ -RUN: | FileCheck %s --check-prefix=CHECK +RUN: | FileCheck %s RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \ RUN: | llvm-symbolizer -obj="%p/Inputs/test.exe" -demangle=false \ RUN: | FileCheck %s --check-prefix=CHECK-NO-DEMANGLE Index: test/tools/llvm-symbolizer/print_context.c =================================================================== --- test/tools/llvm-symbolizer/print_context.c +++ test/tools/llvm-symbolizer/print_context.c @@ -1,6 +1,6 @@ // REQUIRES: x86_64-linux // RUN: %host_cc -O0 -g %s -o %t 2>&1 -// RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s --check-prefix=CHECK +// RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s #include