[clang] [clang][HLSL] Update DXIL/SPIRV hybird CodeGen tests to use temp var (PR #105930)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 26 22:43:16 PDT 2024


================
@@ -1,12 +1,12 @@
-// RUN: %clang_cc1 -triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s --check-prefix=CHECK-SPIRV
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s --check-prefixes=DXCHECK
+
+// RUN: %clang_cc1 -triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s --check-prefixes=SPVCHECK
----------------
bogner wrote:

Note that these `--check-prefixes` don't include "CHECK", so none of the "CHECK:" lines here are executed at all. This may also imply that this test is broken before your change.

https://github.com/llvm/llvm-project/pull/105930


More information about the cfe-commits mailing list