Skip to content

Commit edb2fc6

Browse files
committed
[llvm] Remove explicit -opaque-pointers flag from tests (NFC)
Opaque pointers mode is enabled by default, no need to explicitly enable it.
1 parent 2a3322b commit edb2fc6

File tree

103 files changed

+107
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+107
-127
lines changed

llvm/test/Analysis/CostModel/AArch64/store-ptr.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_analyze_test_checks.py
2-
; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=aarch64-unknown -opaque-pointers | FileCheck %s
3-
; RUN: opt < %s -passes="print<cost-model>" -cost-kind=code-size 2>&1 -disable-output -mtriple=aarch64-unknown -opaque-pointers | FileCheck %s --check-prefix=SIZE
2+
; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=aarch64-unknown | FileCheck %s
3+
; RUN: opt < %s -passes="print<cost-model>" -cost-kind=code-size 2>&1 -disable-output -mtriple=aarch64-unknown | FileCheck %s --check-prefix=SIZE
44

55
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-v256:32:256-a0:0:32-n32-S32"
66
define void @getMemoryOpCost() {

llvm/test/Analysis/LoopAccessAnalysis/depend_diff_types_opaque_ptr.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -S -disable-output --opaque-pointers -passes='print<access-info>' < %s 2>&1 | FileCheck %s
1+
; RUN: opt -S -disable-output -passes='print<access-info>' < %s 2>&1 | FileCheck %s
22

33
; In the function below some of the accesses are done as float types and some
44
; are done as i32 types. When doing dependence analysis the type should not

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt < %s -opaque-pointers -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck %s
1+
; RUN: opt < %s -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck %s
22

33
target datalayout = "e-m:e-i64:64-n32:64"
44
target triple = "powerpc64le-unknown-linux-gnu"

llvm/test/Analysis/LoopCacheAnalysis/PowerPC/multi-store.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt < %s -opaque-pointers -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck %s
1+
; RUN: opt < %s -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck %s
22

33
target datalayout = "e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512"
44
target triple = "powerpc64le-unknown-linux-gnu"

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 -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
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
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/Assembler/invalid-opaque-ptr-addrspace.ll

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

33
; CHECK: ptr* is invalid - use ptr instead
44
define void @f(ptr addrspace(3) %a) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: not llvm-as < %s -opaque-pointers -disable-output 2>&1 | FileCheck %s
1+
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
22

33
; CHECK: expected top-level entity
44
@g1 = external global ptr addrspace(3) addrspace(4)

llvm/test/Assembler/invalid-opaque-ptr.ll

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

33
; CHECK: ptr* is invalid - use ptr instead
44
define void @f(ptr %a) {

llvm/test/Assembler/opaque-ptr-cmpxchg.ll

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

33
; CHECK: compare value and new value type do not match
44
define void @cmpxchg(ptr %p, i32 %a, i64 %b) {

llvm/test/Assembler/opaque-ptr-intrinsic-remangling.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2-
; RUN: opt -S -opaque-pointers < %s | FileCheck %s
2+
; RUN: opt -S < %s | FileCheck %s
33

44
; Make sure that opaque pointer intrinsic remangling upgrade works.
55

0 commit comments

Comments
 (0)