Skip to content

Commit 03b222f

Browse files
committed
Explicitely provide -opaque-pointers to tests since we haven't fully switched to opaque
1 parent 16592a3 commit 03b222f

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

llvm/test/Instrumentation/InstrProfiling/timestamp-coverage.ll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
; RUN: opt < %s -passes=instrprof -S | FileCheck %s
1+
; ifdef INTEL_SYCL_OPAQUEPOINTER_READY
2+
; COM: opt < %s -passes=instrprof -S | FileCheck %s
3+
; else
4+
; RUN: opt < %s -opaque-pointers -passes=instrprof -S | FileCheck %s
5+
; endif
26

37
target triple = "aarch64-unknown-linux-gnu"
48

llvm/test/Instrumentation/InstrProfiling/timestamp.ll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
; RUN: opt < %s -passes=instrprof -S | FileCheck %s
1+
; ifdef INTEL_SYCL_OPAQUEPOINTER_READY
2+
; COM: opt < %s -passes=instrprof -S | FileCheck %s
3+
; else
4+
; RUN: opt < %s -opaque-pointers -passes=instrprof -S | FileCheck %s
5+
; endif
26

37
target triple = "aarch64-unknown-linux-gnu"
48

llvm/test/Transforms/GVNHoist/infinite-loop-indirect.ll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
2-
; RUN: opt -S -passes=gvn-hoist < %s | FileCheck %s
2+
; ifdef INTEL_SYCL_OPAQUEPOINTER_READY
3+
; COM: opt -S -passes=gvn-hoist < %s | FileCheck %s
4+
; else
5+
; RUN: opt -S -opaque-pointers -passes=gvn-hoist < %s | FileCheck %s
6+
; endif
37

48
; Checking gvn-hoist in case of indirect branches.
59

0 commit comments

Comments
 (0)