[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
Wed Aug 28 10:51:34 PDT 2024
================
@@ -15,49 +15,49 @@
// RUN: -o - | FileCheck %s --check-prefixes=CHECK,NO_HALF,SPIR_CHECK
#ifdef __HLSL_ENABLE_16_BIT
-// DXIL_NATIVE_HALF: %dx.umad = call i16 @llvm.dx.umad.i16(i16 %0, i16 %1, i16 %2)
+// DXIL_NATIVE_HALF: %dx.umad = call i16 @llvm.[[ICF:dx]].umad.i16(i16 %0, i16 %1, i16 %2)
----------------
bogner wrote:
I don't think capturing the "dx" in a variable really helps in this one since it doesn't actually allow us to combine any checks. Let's just leave this test as is.
https://github.com/llvm/llvm-project/pull/105930
More information about the cfe-commits
mailing list