Skip to content

Commit b59d79d

Browse files
committed
Re-support hwasan. Replace /dev/null with -
Since the error on hwasan was able to be reproduced locally and the "underlying" (though still not fully understood) issue was discovered, this commit re-adds support for running the test under hwasan and replaces the problematic llc output argument that was causing the test to fail under hwasan.
1 parent ae25b96 commit b59d79d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/test/CodeGen/SPIRV/opencl/reflect-error.ll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
; RUN: not llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown %s -o /dev/null 2>&1 | FileCheck %s
2-
; RUN: not llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown %s -o /dev/null 2>&1 | FileCheck %s
3-
; UNSUPPORTED: hwasan
1+
; RUN: not llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown %s -o - 2>&1 | FileCheck %s
2+
; RUN: not llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown %s -o - 2>&1 | FileCheck %s
43

54
; CHECK: LLVM ERROR: %{{.*}} = G_INTRINSIC intrinsic(@llvm.spv.reflect), %{{.*}}, %{{.*}} is only supported with the GLSL extended instruction set.
65

0 commit comments

Comments
 (0)