Skip to content

Commit 11e2895

Browse files
authored
Add DXIL REQUIRES to certain tests that require a minimum validation versoin (#7408)
Internal testing using older validators reveals some failures on tests that were intended to be run on newer validators. This PR changes the tests to require a minimum validation version to run.
1 parent 1a75a30 commit 11e2895

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tools/clang/test/LitDXILValidation/load-store-validation.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; REQUIRES: dxil-1-9
12
; RUN: not %dxv %s 2>&1 | FileCheck %s
23

34
; Ensure proper validation errors are produced for invalid parameters to load and store operations.

tools/clang/test/LitDXILValidation/vector-validation.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; REQUIRES: dxil-1-9
12
; RUN: not %dxv %s 2>&1 | FileCheck %s
23

34
; Confirm that 6.9 specific LLVM operations and DXIL intrinsics fail in 6.8

0 commit comments

Comments
 (0)