[llvm] 1c7540c - [DirectX] Add triples to two tests after #97593 (#101779)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 2 17:10:47 PDT 2024
Author: Justin Bogner
Date: 2024-08-02T17:10:43-07:00
New Revision: 1c7540c5e1f0c0c435c1ec272fbde23ef416f7ac
URL: https://github.com/llvm/llvm-project/commit/1c7540c5e1f0c0c435c1ec272fbde23ef416f7ac
DIFF: https://github.com/llvm/llvm-project/commit/1c7540c5e1f0c0c435c1ec272fbde23ef416f7ac.diff
LOG: [DirectX] Add triples to two tests after #97593 (#101779)
As of cdfd884b0ec6 "[DXIL] Add DXIL version-specific TableGen
specification and implementation of DXIL Ops (#97593)", all of these
tests need to specify triples.
Added:
Modified:
llvm/test/CodeGen/DirectX/any.ll
llvm/test/CodeGen/DirectX/lerp.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/DirectX/any.ll b/llvm/test/CodeGen/DirectX/any.ll
index e8d87075d65cf..ceb8077af311d 100644
--- a/llvm/test/CodeGen/DirectX/any.ll
+++ b/llvm/test/CodeGen/DirectX/any.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -dxil-op-lower < %s | FileCheck %s
+; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.0-library < %s | FileCheck %s
; Make sure dxil operation function calls for any are generated for float and half.
diff --git a/llvm/test/CodeGen/DirectX/lerp.ll b/llvm/test/CodeGen/DirectX/lerp.ll
index ebd7e133b5163..9f5e4c7710d21 100644
--- a/llvm/test/CodeGen/DirectX/lerp.ll
+++ b/llvm/test/CodeGen/DirectX/lerp.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -dxil-op-lower < %s | FileCheck %s
+; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.0-library < %s | FileCheck %s
; Make sure dxil operation function calls for lerp are generated for float and half.
More information about the llvm-commits
mailing list