From cdf80db1536042583f2131bd4ba5d399399d602b Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Fri, 2 Aug 2024 17:10:43 -0700 Subject: [PATCH] [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. --- llvm/test/CodeGen/DirectX/any.ll | 2 +- llvm/test/CodeGen/DirectX/lerp.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/CodeGen/DirectX/any.ll b/llvm/test/CodeGen/DirectX/any.ll index e8d87075d65cfe3..ceb8077af311dc7 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 ebd7e133b5163c8..9f5e4c7710d2136 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.