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

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 23 13:00:59 PST 2024


================
@@ -1,4 +1,8 @@
 // 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 \
+// RUN:   dxil-pc-shadermodel6.3-library %s -fnative-half-type \
+// RUN:   -emit-llvm -disable-llvm-passes -O3 -o - | FileCheck %s \ 
+// RUN:   --check-prefixes=CHECKIR
----------------
bogner wrote:

Nit: We usually just let run lines be long so it's easier to copy paste them and whatnot. Doesn't really matter though

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


More information about the cfe-commits mailing list