Skip to content

Commit 1285745

Browse files
committed
Use FileCheck's --input-file option instead of cat|
1 parent ce81d5c commit 1285745

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/test/Transforms/PartiallyInlineLibCalls/X86/good-prototype.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
22
; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu -pass-remarks=partially-inline-libcalls \
33
; RUN: -pass-remarks-missed=partially-inline-libcalls 2>%t < %s | FileCheck %s
4-
; RUN: cat %t | FileCheck %s -check-prefix=CHECK-REMARK
4+
; RUN: FileCheck %s -check-prefix=CHECK-REMARK --input-file=%t
55

66
define float @f(float %val) {
77
; CHECK-LABEL: @f(

llvm/test/Transforms/PartiallyInlineLibCalls/X86/musttail.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
22
; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu -pass-remarks-missed=partially-inline-libcalls 2>%t < %s | FileCheck %s
3-
; RUN: cat %t | FileCheck %s -check-prefix=CHECK-REMARK
3+
; RUN: FileCheck %s -check-prefix=CHECK-REMARK --input-file=%t
44

55
define double @foo(double %x) {
66
; CHECK-LABEL: @foo(

llvm/test/Transforms/PartiallyInlineLibCalls/strictfp.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu -pass-remarks-missed=partially-inline-libcalls 2>%t < %s | FileCheck %s
2-
; RUN: cat %t | FileCheck %s -check-prefix=CHECK-REMARK
2+
; RUN: FileCheck %s -check-prefix=CHECK-REMARK --input-file=%t
33

44
define float @f(float %val) strictfp {
55
; CHECK-LABEL: @f

0 commit comments

Comments
 (0)