Skip to content

Commit fb840cd

Browse files
committed
fix lit tests
1 parent f6abc66 commit fb840cd

File tree

11 files changed

+19
-18
lines changed

11 files changed

+19
-18
lines changed

llvm/test/Analysis/LoopCacheAnalysis/compute-cost.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: opt < %s -cache-line-size=32 -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck -check-prefix=SMALLER-CACHELINE %s
2-
; RUN: opt < %s -cache-line-size=256 -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck -check-prefix=LARGER-CACHELINE %s
1+
; RUN: opt < %s -opaque-pointers -cache-line-size=32 -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck -check-prefix=SMALLER-CACHELINE %s
2+
; RUN: opt < %s -opaque-pointers -cache-line-size=256 -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck -check-prefix=LARGER-CACHELINE %s
33

44
;; This test is similar to test/Analysis/LoopCacheAnalysis/PowerPC/compute-cost.ll,
55
;; with differences that it tests the scenarios where an option for cache line size is

llvm/test/Bitcode/sret-only-on-declaration.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
1+
; RUN: llvm-as -opaque-pointers < %s | llvm-dis -opaque-pointers | FileCheck %s
22

33
; CHECK: declare void @decl(ptr sret(i64))
44
; CHECK: call void @decl(ptr %arg)

llvm/test/Bitcode/upgrade-aarch64-sve-intrinsics.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llvm-as %s -o - | llvm-dis -opaque-pointers - | FileCheck %s
1+
; RUN: llvm-as -opaque-pointers %s -o - | llvm-dis -opaque-pointers | FileCheck %s
22

33
define <vscale x 32 x i8> @ld2.nxv32i8(<vscale x 16 x i1> %Pg, i8 *%base_ptr) {
44
; CHECK: %1 = call { <vscale x 16 x i8>, <vscale x 16 x i8> } @llvm.aarch64.sve.ld2.sret.nxv16i8(<vscale x 16 x i1> %Pg, ptr %base_ptr)

llvm/test/CodeGen/X86/funnel-shift.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc < %s -mtriple=i686-- -mattr=sse2 | FileCheck %s --check-prefixes=CHECK,X86-SSE2
3-
; RUN: llc < %s -mtriple=x86_64-- -mattr=avx2 | FileCheck %s --check-prefixes=CHECK,X64-AVX2
2+
; RUN: llc < %s -opaque-pointers -mtriple=i686-- -mattr=sse2 | FileCheck %s --check-prefixes=CHECK,X86-SSE2
3+
; RUN: llc < %s -opaque-pointers -mtriple=x86_64-- -mattr=avx2 | FileCheck %s --check-prefixes=CHECK,X64-AVX2
44

55
declare i8 @llvm.fshl.i8(i8, i8, i8)
66
declare i16 @llvm.fshl.i16(i16, i16, i16)

llvm/test/CodeGen/X86/madd.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse2 | FileCheck %s --check-prefix=SSE2
3-
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
4-
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX256,AVX2
5-
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx512f | FileCheck %s --check-prefixes=AVX,AVX256,AVX512,AVX512F
6-
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx512bw | FileCheck %s --check-prefixes=AVX,AVX256,AVX512,AVX512BW
2+
; RUN: llc < %s -opaque-pointers -mtriple=x86_64-unknown-unknown -mattr=+sse2 | FileCheck %s --check-prefix=SSE2
3+
; RUN: llc < %s -opaque-pointers -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
4+
; RUN: llc < %s -opaque-pointers -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX256,AVX2
5+
; RUN: llc < %s -opaque-pointers -mtriple=x86_64-unknown-unknown -mattr=+avx512f | FileCheck %s --check-prefixes=AVX,AVX256,AVX512,AVX512F
6+
; RUN: llc < %s -opaque-pointers -mtriple=x86_64-unknown-unknown -mattr=+avx512bw | FileCheck %s --check-prefixes=AVX,AVX256,AVX512,AVX512BW
77

88
define i32 @_Z10test_shortPsS_i_128(i16* nocapture readonly, i16* nocapture readonly, i32) local_unnamed_addr #0 {
99
; SSE2-LABEL: _Z10test_shortPsS_i_128:

llvm/test/ThinLTO/X86/autoupgrade.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; Verify that auto-upgrading intrinsics works with Lazy loaded bitcode
22
; Do setup work for all below tests: generate bitcode and combined index
33
; RUN: opt -module-summary %s -o %t.bc
4-
; RUN: llvm-lto -thinlto-action=thinlink -o %t3.bc %t.bc %p/Inputs/autoupgrade.bc
4+
; RUN: llvm-lto -opaque-pointers -thinlto-action=thinlink -o %t3.bc %t.bc %p/Inputs/autoupgrade.bc
55

66
; We can't use llvm-dis here, because it would do the autoupgrade itself.
77

@@ -14,7 +14,7 @@
1414

1515
; Check that the summary is able to print the names despite the lack of
1616
; string table in the legacy bitcode.
17-
; RUN: llvm-dis %p/Inputs/autoupgrade.bc -o - \
17+
; RUN: llvm-dis -opaque-pointers %p/Inputs/autoupgrade.bc -o - \
1818
; RUN: | FileCheck %s --check-prefix=SUMMARYNAMES
1919
; SUMMARYNAMES: ^2 = gv: (name: "globalfunc2",
2020
; SUMMARYNAMES: ^3 = gv: (name: "globalfunc1"

llvm/test/Transforms/Coroutines/coro-async-remat.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt < %s -O0 -S
1+
; RUN: opt < %s -opaque-pointers -O0 -S
22

33
%async_func_ptr = type <{ i32, i32 }>
44
%Tsq = type <{}>

llvm/test/Transforms/Coroutines/coro-spill-promise-02.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; Check that we would take care of the value written to promise before @llvm.coro.begin.
2-
; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s
2+
; RUN: opt < %s -opaque-pointers -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s
33

44
%"class.task::promise_type" = type { [64 x i8] }
55

llvm/test/Transforms/NewGVN/unreachable_block_infinite_loop.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -passes=newgvn -disable-output < %s
1+
; RUN: opt -opaque-pointers -passes=newgvn -disable-output < %s
22

33
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"
44
target triple = "x86_64-apple-darwin10.0"

llvm/test/Transforms/PGOProfile/coverage.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: opt < %s -passes=pgo-instr-gen -pgo-function-entry-coverage -S | FileCheck %s --implicit-check-not="instrprof.cover" --check-prefixes=CHECK,ENTRY
2-
; RUN: opt < %s -passes=pgo-instr-gen -pgo-block-coverage -S | FileCheck %s --implicit-check-not="instrprof.cover" --check-prefixes=CHECK,BLOCK
1+
; RUN: opt < %s -passes=pgo-instr-gen -opaque-pointers -pgo-function-entry-coverage -S | FileCheck %s --implicit-check-not="instrprof.cover" --check-prefixes=CHECK,ENTRY
2+
; RUN: opt < %s -passes=pgo-instr-gen -opaque-pointers -pgo-block-coverage -S | FileCheck %s --implicit-check-not="instrprof.cover" --check-prefixes=CHECK,BLOCK
33
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
44
target triple = "x86_64-unknown-linux-gnu"
55

llvm/test/tools/llvm-nm/opaque-pointers.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
; RUN: llvm-ar cr %t.a %S/Inputs/typed.bc %t.opaque.bc
33
; RUN: llvm-nm --just-symbol-name %t.a | FileCheck %s
44

5+
; XFAIL: *
56
; CHECK-LABEL: typed.bc:
67
; CHECK: test
78
; CHECK-LABEL: opaque.bc:

0 commit comments

Comments
 (0)