https://github.com/farzonl closed
https://github.com/llvm/llvm-project/pull/108686
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/108686
>From 8a030f5271b4d27a160b21f285c14682c4817fa3 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Sat, 14 Sep 2024 06:23:08 +
Subject: [PATCH] implementing asfloat using bit_cast
---
clang/lib/Headers/h
joaosaffran wrote:
Can someone merge this, please :)
https://github.com/llvm/llvm-project/pull/108686
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/farzonl approved this pull request.
https://github.com/llvm/llvm-project/pull/108686
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,35 @@
+// RUN: %clang_cc1 -finclude-default-header -triple
dxil-pc-shadermodel6.6-library %s -fnative-half-type -verify
+
+
+float4 test_float_too_many_arg(float p0, float p1) {
+ return asfloat(p0, p1);
+ // expected-error@-1 {{no matching function for call to 'asfl
https://github.com/python3kgae approved this pull request.
https://github.com/llvm/llvm-project/pull/108686
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -361,6 +361,23 @@ bool any(double3);
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_any)
bool any(double4);
+//===--===//
+// asfloat builtins
+//===-
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/108686
>From 32e71ea8fe790ea81163fac76bd2029991d780bd Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Sat, 14 Sep 2024 06:23:08 +
Subject: [PATCH] implementing asfloat using bit_cast
---
clang/lib/Headers/h
@@ -361,6 +361,23 @@ bool any(double3);
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_any)
bool any(double4);
+//===--===//
+// asfloat builtins
+//===-
llvmbot wrote:
@llvm/pr-subscribers-hlsl
@llvm/pr-subscribers-clang
Author: None (joaosaffran)
Changes
This PR is implementing `asfloat` for HLSL.
Fixes: #70098
---
Full diff: https://github.com/llvm/llvm-project/pull/108686.diff
3 Files Affected:
- (modified) clang/lib/Headers/hlsl/h
https://github.com/joaosaffran ready_for_review
https://github.com/llvm/llvm-project/pull/108686
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/108686
>From b52c5ec306f41214e6cdeb6cd1f035ccabfccdf8 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Sat, 14 Sep 2024 06:23:08 +
Subject: [PATCH] implementing asfloat using bit_cast
---
clang/lib/Headers/h
https://github.com/joaosaffran created
https://github.com/llvm/llvm-project/pull/108686
This PR is implementing `asfloat` for HLSL.
Fixes: #70098
>From a405059019941d40ad3052ec588f0463c5aef89e Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Sat, 14 Sep 2024 06:23:08 +
Subject: [PATCH] i
13 matches
Mail list logo