https://github.com/llvm-beanz closed
https://github.com/llvm/llvm-project/pull/87270
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/llvm-beanz updated
https://github.com/llvm/llvm-project/pull/87270
>From c4dd0ba015dd51eea423d5d52d4afa9b2e92d514 Mon Sep 17 00:00:00 2001
From: Chris Bieneman
Date: Mon, 1 Apr 2024 13:24:00 -0500
Subject: [PATCH 1/2] [HLSL] Implement floating literal suffixes
This change im
@@ -4117,14 +4117,17 @@ ExprResult Sema::ActOnNumericConstant(const Token &Tok,
Scope *UDLScope) {
} else if (Literal.isFloatingLiteral()) {
QualType Ty;
if (Literal.isHalf){
- if (getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()))
+ if (ge
https://github.com/bogner approved this pull request.
https://github.com/llvm/llvm-project/pull/87270
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner edited https://github.com/llvm/llvm-project/pull/87270
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/damyanp approved this pull request.
https://github.com/llvm/llvm-project/pull/87270
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Chris B (llvm-beanz)
Changes
This change implements the HLSL floating literal suffixes for half and double
literals. The PR for the HLSL language specification for this behavior is
https://github.com/microsoft/hlsl-specs/pull/175.
The TL;
https://github.com/llvm-beanz created
https://github.com/llvm/llvm-project/pull/87270
This change implements the HLSL floating literal suffixes for half and double
literals. The PR for the HLSL language specification for this behavior is
https://github.com/microsoft/hlsl-specs/pull/175.
The T