AaronBallman wrote:
One question I have is related to:
> Last year MSVC added [[msvc::intrinsic]] for us game devs
> [here](https://github.com/MicrosoftDocs/cpp-docs/blob/main/docs/cpp/attributes.md#msvcintrinsic).
> This was explicitly added as an attribute under the request of us since a
>
shafik wrote:
Adding @AaronBallman and @erichkeane for a wider audience
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MaxEW707 wrote:
> It's not ready, but I have a draft for a much more general attribute: #78071
I was playing around with your draft PR and I do prefer your solution over mine.
It will even help to cleanup my custom `xmmintrin.h` header that we have to
reduce include times from SSE headers.
philnik777 wrote:
It's not ready, but I have a draft for a much more general attribute: #78071
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
MaxEW707 wrote:
I appreciate the discussions. I know I have a tendency to get ranty in my
writing so I just want to be clear that I mean no malice.
I can further explain my side.
> Include times
> Modules should ease that pain
I don't know how else to make it clear that we will never be
philnik777 wrote:
> @philnik777 Do `std::move`/ `std::forward` etc actually need an abi tag?
> Maybe we should simply not set a tag given that clang / gcc replace call to
> these functions.
If that were always the case we could simply provide a declaration without ever
defining the function,
cor3ntin wrote:
I struggle to understand the motivation here: If you are not using a standard
library implementation at all and instead act as your own standard library
vendor, just providing a declaration of move / forward should be enough.
The concern about ABI tags only come up if the STL
MaxEW707 wrote:
> I don't know whether all of these things should be handled with the same
> attribute, or whether they should be handled at all, but they should
> definitely be considered when designing this attribute.
For this I am more concerned with language level features such as move,
MaxEW707 wrote:
> (@MaxEW707 I think having a chat about this informally would be nice.)
Sounds good. Let me know the best way to contact you.
> While I disagree with the reasoning for not just using std
I'll try to give more context here. The main reason is include times and not
wanting to
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
+
+namespace mystd {
+inline namespace bar {
+template struct remove_reference { typedef T type; };
+template struct remove_reference { typedef T type; };
+template struct remove_reference { typedef T
https://github.com/philnik777 edited
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/philnik777 commented:
While I disagree with the reasoning for not just using `std` (@MaxEW707 I think
having a chat about this informally would be nice.), I do think it makes sense
to add the ability to declare some functions as builtins. There are a few cases
inside the
https://github.com/MaxEW707 updated
https://github.com/llvm/llvm-project/pull/76596
>From ff2c4b9310950c56a4e2a2b7752f3c3c442a6805 Mon Sep 17 00:00:00 2001
From: MaxEW707 <82551778+maxew...@users.noreply.github.com>
Date: Fri, 29 Dec 2023 04:02:10 -0500
Subject: [PATCH 1/3] Add
https://github.com/MaxEW707 edited
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaxEW707 edited
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaxEW707 edited
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaxEW707 edited
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaxEW707 edited
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaxEW707 edited
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaxEW707 edited
https://github.com/llvm/llvm-project/pull/76596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Max Winkler (MaxEW707)
Changes
Background
https://godbolt.org/z/hv53svTrq for reference on all of the below.
In games debug performance is critical as much as optimized performance.
We mainly accomplish this by reducing the
https://github.com/MaxEW707 created
https://github.com/llvm/llvm-project/pull/76596
Background
https://godbolt.org/z/hv53svTrq for reference on all of the below.
In games debug performance is critical as much as optimized performance.
We mainly accomplish this by reducing the
22 matches
Mail list logo