https://github.com/metkarpoonam updated
https://github.com/llvm/llvm-project/pull/132315
>From 6ce249d7e4bea669480c06a935f88a21894aba67 Mon Sep 17 00:00:00 2001
From: Poonam Vilas Metkar
Date: Wed, 19 Mar 2025 09:16:30 -0700
Subject: [PATCH 1/7] Add asuint16 intrinsic and codegen test
---
cla
@@ -0,0 +1,60 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple
dxil-pc-shadermodel6.2-library %s -fnative-half-type -emit-llvm -O1 -o - |
FileCheck %s
+
+//CHECK-LABEL: define {{.*}}test_ints
+//CHECK-SAME: {{.*}}(i16 {{.*}} [[VAL:%.*]]){{.*}}
+// CHECK-NOT: bitca
https://github.com/metkarpoonam updated
https://github.com/llvm/llvm-project/pull/132315
>From 6ce249d7e4bea669480c06a935f88a21894aba67 Mon Sep 17 00:00:00 2001
From: Poonam Vilas Metkar
Date: Wed, 19 Mar 2025 09:16:30 -0700
Subject: [PATCH 1/9] Add asuint16 intrinsic and codegen test
---
cla
https://github.com/farzonl approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/132315
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,52 @@
+// RUN: %clang_cc1 -finclude-default-header -triple
dxil-pc-shadermodel6.2-library %s -fnative-half-type -verify
+
+uint16_t test_asuint16_less_argument()
+{
+return asuint16();
+ // expected-error@-1 {{no matching function for call to 'asuint16'}}
+ // ex
https://github.com/farzonl closed
https://github.com/llvm/llvm-project/pull/132315
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/V-FEXrt commented:
LGTM but I'll let Farzon approve
https://github.com/llvm/llvm-project/pull/132315
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/V-FEXrt edited
https://github.com/llvm/llvm-project/pull/132315
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,52 @@
+// RUN: %clang_cc1 -finclude-default-header -triple
dxil-pc-shadermodel6.2-library %s -fnative-half-type -verify
+
+uint16_t test_asuint16_less_argument()
+{
+return asuint16();
+ // expected-error@-1 {{no matching function for call to 'asuint16'}}
+ // ex
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff fe6bced9e40f7d4c35550c51ef9cdc7be2a055e7
4c0e7637f9aa34bd13c6d0e5b72519eb0e543a99 --e
@@ -0,0 +1,38 @@
+; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - |
FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o -
-filetype=obj | spirv-val %}
+
+; CHECK-DAG: %[[#half:]] = OpTypeFloat 16
metka
https://github.com/metkarpoonam updated
https://github.com/llvm/llvm-project/pull/132315
>From 6ce249d7e4bea669480c06a935f88a21894aba67 Mon Sep 17 00:00:00 2001
From: Poonam Vilas Metkar
Date: Wed, 19 Mar 2025 09:16:30 -0700
Subject: [PATCH 1/8] Add asuint16 intrinsic and codegen test
---
cla
12 matches
Mail list logo