[clang] [HLSL] Implement the `lit` intrinsic (PR #134171)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 11:44:57 PDT 2025


================
@@ -0,0 +1,34 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil-pc-shadermodel6.3-library %s -fnative-half-type -emit-llvm -O1 -o - | FileCheck %s
----------------
farzonl wrote:

Don't do -01 here. Drop the check-next and just check for the instructions you are expecting like
select, or, exp, log, and select again

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


More information about the cfe-commits mailing list