[clang] [llvm] Add normalize builtins and normalize HLSL function to DirectX and SPIR-V backend (PR #102683)

Mikael Holmén via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 01:09:32 PDT 2024


================
@@ -0,0 +1,31 @@
+// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -verify -verify-ignore-unexpected
----------------
mikaelholmen wrote:

Hi @bob80905 
I think this "-emit-llvm -disable-llvm-passes" will make the test write to the local filesystem?
Can we try to avoid that, e.g. by just removing "-emit-llvm"?
See e.g. b7730a23efb2 which fixed a similar case recently.

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


More information about the cfe-commits mailing list