[clang] [HLSL] Fix casting asserts (PR #82827)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 23 15:19:00 PST 2024


================
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple dxil-unknown-shadermodel6.6-library -S -fnative-half-type -finclude-default-header -o - -ast-dump %s | FileCheck %s
+// RUN: %clang_cc1 -std=hlsl2021 -finclude-default-header -x hlsl -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -O3 -o - | FileCheck %s --check-prefixes=CHECKIR
----------------
farzonl wrote:

that's my bad I copied that from another test case.

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


More information about the cfe-commits mailing list