@@ -7997,14 +7997,26 @@ enum SpecialRegisterAccessKind {
static Value *EmitAMDGCNBallotForExec(CodeGenFunction &CGF, const CallExpr *E,
llvm::Type *RegisterType,
- llvm::Type *ValueType) {
+
https://github.com/arsenm requested changes to this pull request.
I am opposed to adding any additional attributes for this. I very much want to
remove the current unsafe-fp-atomics attribute. It's broken in the presence of
inlining as it is, and at some point acquired too many meanings. There'
https://github.com/arsenm edited https://github.com/llvm/llvm-project/pull/69567
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm commented:
lgtm with a nit
https://github.com/llvm/llvm-project/pull/69567
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -21,6 +23,28 @@ void test_ballot_wave32_target_attr(global uint* out, int a,
int b)
*out = __builtin_amdgcn_ballot_w32(a == b);
}
+// CHECK-LABEL: @test_read_exec(
+// CHECK: call i64 @llvm.amdgcn.ballot.i64(i1 true)
+void test_read_exec(global uint* out) {
+ *out = __b
@@ -7995,15 +7995,24 @@ enum SpecialRegisterAccessKind {
Write,
};
+// Generates the IR for __builtin_read_exec_*.
+// Lowers the builtin to amdgcn_ballot intrinsic.
static Value *EmitAMDGCNBallotForExec(CodeGenFunction &CGF, const CallExpr *E,
arsenm wrote:
> to allow for more code re-use in the registeration
Typo 'registeration'
https://github.com/llvm/llvm-project/pull/70116
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
@@ -0,0 +1,78 @@
+//===- Utility.cpp -- Collection of geneirc offloading utilities
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/69567
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -9,6 +9,7 @@
#include "ABIInfoImpl.h"
#include "TargetInfo.h"
#include "llvm/IR/IntrinsicsNVPTX.h"
+#include
arsenm wrote:
probably not, and if it is I believe there's an llvm wrapper header you're
supposed to use instead
https://github.com/llvm/llvm-pr
@@ -607,8 +608,13 @@ void CodeGenModule::handleAMDGPUFlatWorkGroupSizeAttr(
if (Min != 0) {
assert(Min <= Max && "Min must be less than or equal Max");
+if (MinThreadsVal)
+ *MinThreadsVal = Min;
+if (MaxThreadsVal)
+ *MaxThreadsVal = Max;
std::str
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/70333
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5612,6 +5612,10 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo
&CallInfo,
BundleList);
EmitBlock(Cont);
}
+ if (CI->getCalledFunction() && CI->getCalledFunction()->hasName() &&
+ CI->getCalledFunction()->getName().startsw
https://github.com/arsenm approved this pull request.
lgtm, but a strict reading of the spec would filter out arbitrary other
ext_vector_types
https://github.com/llvm/llvm-project/pull/66651
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
Author: arsenm
Date: Tue Aug 27 12:25:40 2019
New Revision: 370101
URL: http://llvm.org/viewvc/llvm-project?rev=370101&view=rev
Log:
AMDGPU: Always emit amdgpu-flat-work-group-size
The backend default maximum should be the hardware maximum, so the
frontend should set the implementation defined de
Author: arsenm
Date: Wed Sep 4 20:00:43 2019
New Revision: 371010
URL: http://llvm.org/viewvc/llvm-project?rev=371010&view=rev
Log:
AMDGPU: Add builtins for is_shared/is_private
Added:
cfe/trunk/test/SemaOpenCL/builtins-amdgcn-error-flat-address-space.cl
Modified:
cfe/trunk/include/clang
Author: arsenm
Date: Tue Aug 1 13:36:57 2017
New Revision: 309741
URL: http://llvm.org/viewvc/llvm-project?rev=309741&view=rev
Log:
Fix creating bitcasts with wrong address space
In a future commit AMDGPU will start passing
aggregates directly to more functions, triggering
asserts in test/CodeGe
Author: arsenm
Date: Wed Aug 9 14:44:58 2017
New Revision: 310527
URL: http://llvm.org/viewvc/llvm-project?rev=310527&view=rev
Log:
AMDGPU: Use direct struct returns and arguments
This is an improvement over always using byval for
structs.
This will use registers until ~16 are used, and then
sw
Author: arsenm
Date: Wed Aug 9 17:19:43 2017
New Revision: 310540
URL: http://llvm.org/viewvc/llvm-project?rev=310540&view=rev
Log:
Remove unused function
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.cpp
Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL:
http://llvm.org/viewvc/llvm-project/
Author: Matt Arsenault
Date: 2020-12-14T16:34:37-05:00
New Revision: ef4da3c2ba8a812a695361d786e3de8a8b2cd482
URL:
https://github.com/llvm/llvm-project/commit/ef4da3c2ba8a812a695361d786e3de8a8b2cd482
DIFF:
https://github.com/llvm/llvm-project/commit/ef4da3c2ba8a812a695361d786e3de8a8b2cd482.diff
Author: Matt Arsenault
Date: 2021-11-29T13:43:34-05:00
New Revision: 6c27d389c8a00040aad998fe959f38ba709a8750
URL:
https://github.com/llvm/llvm-project/commit/6c27d389c8a00040aad998fe959f38ba709a8750
DIFF:
https://github.com/llvm/llvm-project/commit/6c27d389c8a00040aad998fe959f38ba709a8750.diff
Author: Matt Arsenault
Date: 2021-11-29T15:47:10-05:00
New Revision: 25eb7fa01d7ebbe67648ea03841cda55b4239ab2
URL:
https://github.com/llvm/llvm-project/commit/25eb7fa01d7ebbe67648ea03841cda55b4239ab2
DIFF:
https://github.com/llvm/llvm-project/commit/25eb7fa01d7ebbe67648ea03841cda55b4239ab2.diff
Author: Matt Arsenault
Date: 2021-12-02T14:55:56-05:00
New Revision: 2f0a5714184cca9325004506a22a2a3193c825aa
URL:
https://github.com/llvm/llvm-project/commit/2f0a5714184cca9325004506a22a2a3193c825aa
DIFF:
https://github.com/llvm/llvm-project/commit/2f0a5714184cca9325004506a22a2a3193c825aa.diff
Author: Matt Arsenault
Date: 2022-10-28T16:39:09-07:00
New Revision: 7d568cdc9d68ec295f1e141c8bcad344873f51cd
URL:
https://github.com/llvm/llvm-project/commit/7d568cdc9d68ec295f1e141c8bcad344873f51cd
DIFF:
https://github.com/llvm/llvm-project/commit/7d568cdc9d68ec295f1e141c8bcad344873f51cd.diff
Author: Matt Arsenault
Date: 2022-10-28T16:50:23-07:00
New Revision: 1ad63dc0b760d5a280500a4e9ebdc242468392bd
URL:
https://github.com/llvm/llvm-project/commit/1ad63dc0b760d5a280500a4e9ebdc242468392bd
DIFF:
https://github.com/llvm/llvm-project/commit/1ad63dc0b760d5a280500a4e9ebdc242468392bd.diff
Author: Matt Arsenault
Date: 2022-10-28T21:42:57-07:00
New Revision: c62745e1678e26185dc93ea30f858c91c03323f9
URL:
https://github.com/llvm/llvm-project/commit/c62745e1678e26185dc93ea30f858c91c03323f9
DIFF:
https://github.com/llvm/llvm-project/commit/c62745e1678e26185dc93ea30f858c91c03323f9.diff
Author: Matt Arsenault
Date: 2022-10-28T21:42:57-07:00
New Revision: 0ebd4638af1f71788ca55f521ed8e1ed8cab518d
URL:
https://github.com/llvm/llvm-project/commit/0ebd4638af1f71788ca55f521ed8e1ed8cab518d
DIFF:
https://github.com/llvm/llvm-project/commit/0ebd4638af1f71788ca55f521ed8e1ed8cab518d.diff
Author: Matt Arsenault
Date: 2022-10-13T21:12:11-07:00
New Revision: f59f116bd5c357b1cb4b04693c88d41484e168d5
URL:
https://github.com/llvm/llvm-project/commit/f59f116bd5c357b1cb4b04693c88d41484e168d5
DIFF:
https://github.com/llvm/llvm-project/commit/f59f116bd5c357b1cb4b04693c88d41484e168d5.diff
Author: Matt Arsenault
Date: 2022-12-21T08:27:24-05:00
New Revision: 947905a1c5843b677849c3c4fadb524b6405c139
URL:
https://github.com/llvm/llvm-project/commit/947905a1c5843b677849c3c4fadb524b6405c139
DIFF:
https://github.com/llvm/llvm-project/commit/947905a1c5843b677849c3c4fadb524b6405c139.diff
Author: Matt Arsenault
Date: 2022-12-21T08:27:24-05:00
New Revision: 719123230577ebfb689b53ed09f4d06ddc1664ef
URL:
https://github.com/llvm/llvm-project/commit/719123230577ebfb689b53ed09f4d06ddc1664ef
DIFF:
https://github.com/llvm/llvm-project/commit/719123230577ebfb689b53ed09f4d06ddc1664ef.diff
Author: Matt Arsenault
Date: 2022-12-21T08:27:24-05:00
New Revision: 2bb59549e11fdb1d6b6c4e68f4572783f414d67f
URL:
https://github.com/llvm/llvm-project/commit/2bb59549e11fdb1d6b6c4e68f4572783f414d67f
DIFF:
https://github.com/llvm/llvm-project/commit/2bb59549e11fdb1d6b6c4e68f4572783f414d67f.diff
Author: Matt Arsenault
Date: 2022-12-21T18:01:42-05:00
New Revision: 437346abe18ec4fc982ae36f6821487dafc1a06e
URL:
https://github.com/llvm/llvm-project/commit/437346abe18ec4fc982ae36f6821487dafc1a06e
DIFF:
https://github.com/llvm/llvm-project/commit/437346abe18ec4fc982ae36f6821487dafc1a06e.diff
Author: Matt Arsenault
Date: 2022-12-22T08:43:15-05:00
New Revision: 9e0311561c8ed4df2d67a5a1fba16a148683c3c9
URL:
https://github.com/llvm/llvm-project/commit/9e0311561c8ed4df2d67a5a1fba16a148683c3c9
DIFF:
https://github.com/llvm/llvm-project/commit/9e0311561c8ed4df2d67a5a1fba16a148683c3c9.diff
Author: Matt Arsenault
Date: 2022-12-29T17:58:55-05:00
New Revision: f4bcd7f598331457cfe74e459b489d4098369511
URL:
https://github.com/llvm/llvm-project/commit/f4bcd7f598331457cfe74e459b489d4098369511
DIFF:
https://github.com/llvm/llvm-project/commit/f4bcd7f598331457cfe74e459b489d4098369511.diff
Author: Matt Arsenault
Date: 2022-12-29T18:19:55-05:00
New Revision: 4ddba3a7061fef81faed2f0fbaba25f4b78f6014
URL:
https://github.com/llvm/llvm-project/commit/4ddba3a7061fef81faed2f0fbaba25f4b78f6014
DIFF:
https://github.com/llvm/llvm-project/commit/4ddba3a7061fef81faed2f0fbaba25f4b78f6014.diff
Author: Matt Arsenault
Date: 2022-12-29T18:46:41-05:00
New Revision: e630d9b299822810bba8f3d0457004d1b4c39bef
URL:
https://github.com/llvm/llvm-project/commit/e630d9b299822810bba8f3d0457004d1b4c39bef
DIFF:
https://github.com/llvm/llvm-project/commit/e630d9b299822810bba8f3d0457004d1b4c39bef.diff
Author: Matt Arsenault
Date: 2023-01-03T19:42:46-05:00
New Revision: ce6ae0b2a26b1ec2f770b2b9474cc4486d60c586
URL:
https://github.com/llvm/llvm-project/commit/ce6ae0b2a26b1ec2f770b2b9474cc4486d60c586
DIFF:
https://github.com/llvm/llvm-project/commit/ce6ae0b2a26b1ec2f770b2b9474cc4486d60c586.diff
Author: Matt Arsenault
Date: 2023-01-04T20:51:51-05:00
New Revision: 39a83ebd47fb56da5c1bd9dd976b70d551656cab
URL:
https://github.com/llvm/llvm-project/commit/39a83ebd47fb56da5c1bd9dd976b70d551656cab
DIFF:
https://github.com/llvm/llvm-project/commit/39a83ebd47fb56da5c1bd9dd976b70d551656cab.diff
Author: Matt Arsenault
Date: 2023-01-05T16:35:04-05:00
New Revision: 81849497b42e1a865af8aff65ab768e56a301c87
URL:
https://github.com/llvm/llvm-project/commit/81849497b42e1a865af8aff65ab768e56a301c87
DIFF:
https://github.com/llvm/llvm-project/commit/81849497b42e1a865af8aff65ab768e56a301c87.diff
Author: Matt Arsenault
Date: 2023-01-07T13:39:05-05:00
New Revision: 6fe70cb465654eafafd272231e23762adeab4290
URL:
https://github.com/llvm/llvm-project/commit/6fe70cb465654eafafd272231e23762adeab4290
DIFF:
https://github.com/llvm/llvm-project/commit/6fe70cb465654eafafd272231e23762adeab4290.diff
Author: Matt Arsenault
Date: 2023-01-10T13:07:01-05:00
New Revision: 2e9c663ab4a0385e619a64bc0726be0bb178c0b1
URL:
https://github.com/llvm/llvm-project/commit/2e9c663ab4a0385e619a64bc0726be0bb178c0b1
DIFF:
https://github.com/llvm/llvm-project/commit/2e9c663ab4a0385e619a64bc0726be0bb178c0b1.diff
Author: Matt Arsenault
Date: 2023-01-10T14:45:23-05:00
New Revision: 2ad4c3c88d884684a3efb42181e87fe305df51bd
URL:
https://github.com/llvm/llvm-project/commit/2ad4c3c88d884684a3efb42181e87fe305df51bd
DIFF:
https://github.com/llvm/llvm-project/commit/2ad4c3c88d884684a3efb42181e87fe305df51bd.diff
Author: Matt Arsenault
Date: 2023-01-10T20:35:49-05:00
New Revision: f9559b1e300ec636b15b350a981eebec65d3419a
URL:
https://github.com/llvm/llvm-project/commit/f9559b1e300ec636b15b350a981eebec65d3419a
DIFF:
https://github.com/llvm/llvm-project/commit/f9559b1e300ec636b15b350a981eebec65d3419a.diff
Author: Matt Arsenault
Date: 2022-11-11T16:38:51-08:00
New Revision: 76db4e3c439e6bc2921690e501ba025998f4599d
URL:
https://github.com/llvm/llvm-project/commit/76db4e3c439e6bc2921690e501ba025998f4599d
DIFF:
https://github.com/llvm/llvm-project/commit/76db4e3c439e6bc2921690e501ba025998f4599d.diff
Author: Matt Arsenault
Date: 2022-11-14T11:07:31-08:00
New Revision: 840a793375fec763c2b2781b82b764325635cc7a
URL:
https://github.com/llvm/llvm-project/commit/840a793375fec763c2b2781b82b764325635cc7a
DIFF:
https://github.com/llvm/llvm-project/commit/840a793375fec763c2b2781b82b764325635cc7a.diff
Author: Matt Arsenault
Date: 2023-01-30T15:03:14-04:00
New Revision: 52c28d7cf9018f3558268217f6cf91271eb4ac39
URL:
https://github.com/llvm/llvm-project/commit/52c28d7cf9018f3558268217f6cf91271eb4ac39
DIFF:
https://github.com/llvm/llvm-project/commit/52c28d7cf9018f3558268217f6cf91271eb4ac39.diff
Author: Matt Arsenault
Date: 2023-01-30T15:03:14-04:00
New Revision: 00f6a7f02f9c8d542ce8ff1c9c037d9fdb421b88
URL:
https://github.com/llvm/llvm-project/commit/00f6a7f02f9c8d542ce8ff1c9c037d9fdb421b88
DIFF:
https://github.com/llvm/llvm-project/commit/00f6a7f02f9c8d542ce8ff1c9c037d9fdb421b88.diff
Author: Matt Arsenault
Date: 2023-01-30T15:03:15-04:00
New Revision: d12ee4bf7c14a00b14890fc3042edd659dde7fb2
URL:
https://github.com/llvm/llvm-project/commit/d12ee4bf7c14a00b14890fc3042edd659dde7fb2
DIFF:
https://github.com/llvm/llvm-project/commit/d12ee4bf7c14a00b14890fc3042edd659dde7fb2.diff
Author: Matt Arsenault
Date: 2023-01-12T13:00:49-05:00
New Revision: edbfc10b48651c94e0c3c774f2a45011b36796e1
URL:
https://github.com/llvm/llvm-project/commit/edbfc10b48651c94e0c3c774f2a45011b36796e1
DIFF:
https://github.com/llvm/llvm-project/commit/edbfc10b48651c94e0c3c774f2a45011b36796e1.diff
Author: Matt Arsenault
Date: 2023-01-12T13:39:23-05:00
New Revision: 7f2f6eec3ead9c5715c86159919d6df182d1cc4d
URL:
https://github.com/llvm/llvm-project/commit/7f2f6eec3ead9c5715c86159919d6df182d1cc4d
DIFF:
https://github.com/llvm/llvm-project/commit/7f2f6eec3ead9c5715c86159919d6df182d1cc4d.diff
Author: Matt Arsenault
Date: 2023-01-12T15:22:18-05:00
New Revision: 97156ba7bcc91b1449925df95128c36680549a4d
URL:
https://github.com/llvm/llvm-project/commit/97156ba7bcc91b1449925df95128c36680549a4d
DIFF:
https://github.com/llvm/llvm-project/commit/97156ba7bcc91b1449925df95128c36680549a4d.diff
@@ -5612,6 +5612,10 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo
&CallInfo,
BundleList);
EmitBlock(Cont);
}
+ if (CI->getCalledFunction() && CI->getCalledFunction()->hasName() &&
+ CI->getCalledFunction()->getName().contain
@@ -5612,6 +5612,10 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo
&CallInfo,
BundleList);
EmitBlock(Cont);
}
+ if (CI->getCalledFunction() && CI->getCalledFunction()->hasName() &&
+ CI->getCalledFunction()->getName().startsw
@@ -5612,6 +5612,10 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo
&CallInfo,
BundleList);
EmitBlock(Cont);
}
+ if (CI->getCalledFunction() && CI->getCalledFunction()->hasName() &&
+ CI->getCalledFunction()->getName().startsw
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/68267
Just follow allow with the reassociate pragma. This allows locally setting the
arcp fast math flag. Previously you could only access this through the global
-freciprocal-math.
>From 082efa2687b0b6a250bbdbe60040c
Author: Matt Arsenault
Date: 2023-10-05T07:49:38-07:00
New Revision: 5a36904c515b9253d90aa0400e6c4dd661e7102b
URL:
https://github.com/llvm/llvm-project/commit/5a36904c515b9253d90aa0400e6c4dd661e7102b
DIFF:
https://github.com/llvm/llvm-project/commit/5a36904c515b9253d90aa0400e6c4dd661e7102b.diff
@@ -2138,6 +2138,8 @@ class IRBuilderBase {
return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
}
+ // With opaque pointers enabled, this is same as CreateAddressSpaceCast.
arsenm wrote:
I don't think this is quite accurate, CreateAddrSpaceCas
https://github.com/arsenm edited https://github.com/llvm/llvm-project/pull/68267
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Matt Arsenault
Date: 2023-07-20T18:14:24-04:00
New Revision: 5f1d3834a2bc3b77e126a278a0e7f00bce5576fc
URL:
https://github.com/llvm/llvm-project/commit/5f1d3834a2bc3b77e126a278a0e7f00bce5576fc
DIFF:
https://github.com/llvm/llvm-project/commit/5f1d3834a2bc3b77e126a278a0e7f00bce5576fc.diff
Author: Matt Arsenault
Date: 2023-07-22T08:07:50-04:00
New Revision: 9b2dfff57a382b757c358b43ee1df7591cb480ee
URL:
https://github.com/llvm/llvm-project/commit/9b2dfff57a382b757c358b43ee1df7591cb480ee
DIFF:
https://github.com/llvm/llvm-project/commit/9b2dfff57a382b757c358b43ee1df7591cb480ee.diff
Author: Matt Arsenault
Date: 2023-07-25T07:54:11-04:00
New Revision: 71be91eba96d80d15689e4f516141c533c3c086d
URL:
https://github.com/llvm/llvm-project/commit/71be91eba96d80d15689e4f516141c533c3c086d
DIFF:
https://github.com/llvm/llvm-project/commit/71be91eba96d80d15689e4f516141c533c3c086d.diff
Author: Matt Arsenault
Date: 2023-07-25T07:56:31-04:00
New Revision: e7ab6982de87b14c9584e1267cd755561b4c063c
URL:
https://github.com/llvm/llvm-project/commit/e7ab6982de87b14c9584e1267cd755561b4c063c
DIFF:
https://github.com/llvm/llvm-project/commit/e7ab6982de87b14c9584e1267cd755561b4c063c.diff
Author: Matt Arsenault
Date: 2023-07-25T08:36:19-04:00
New Revision: 73105a54725ec11165dd8c90ca3b7a0b1b9cd6e3
URL:
https://github.com/llvm/llvm-project/commit/73105a54725ec11165dd8c90ca3b7a0b1b9cd6e3
DIFF:
https://github.com/llvm/llvm-project/commit/73105a54725ec11165dd8c90ca3b7a0b1b9cd6e3.diff
Author: Matt Arsenault
Date: 2023-07-25T08:36:19-04:00
New Revision: 18914f795523b7099cad0cf16ac4cd062ac998d4
URL:
https://github.com/llvm/llvm-project/commit/18914f795523b7099cad0cf16ac4cd062ac998d4
DIFF:
https://github.com/llvm/llvm-project/commit/18914f795523b7099cad0cf16ac4cd062ac998d4.diff
Author: Matt Arsenault
Date: 2023-08-11T19:32:39-04:00
New Revision: 9e3d9c9eae03910d93e2312e1e0845433c779998
URL:
https://github.com/llvm/llvm-project/commit/9e3d9c9eae03910d93e2312e1e0845433c779998
DIFF:
https://github.com/llvm/llvm-project/commit/9e3d9c9eae03910d93e2312e1e0845433c779998.diff
Author: Matt Arsenault
Date: 2023-08-14T11:28:41-04:00
New Revision: d7fcb5b6b5280dc61d5afe0920bb78a82cfe2f27
URL:
https://github.com/llvm/llvm-project/commit/d7fcb5b6b5280dc61d5afe0920bb78a82cfe2f27
DIFF:
https://github.com/llvm/llvm-project/commit/d7fcb5b6b5280dc61d5afe0920bb78a82cfe2f27.diff
Author: Matt Arsenault
Date: 2023-08-15T17:40:19-04:00
New Revision: 43f314f5e6cebe02ff63d5197c8e5c25204b20d2
URL:
https://github.com/llvm/llvm-project/commit/43f314f5e6cebe02ff63d5197c8e5c25204b20d2
DIFF:
https://github.com/llvm/llvm-project/commit/43f314f5e6cebe02ff63d5197c8e5c25204b20d2.diff
@@ -6397,6 +6397,41 @@ static Value *simplifyBinaryIntrinsic(Function *F, Value
*Op0, Value *Op1,
return Constant::getNullValue(ReturnType);
break;
}
+ case Intrinsic::ptrmask: {
+if (isa(Op0) || isa(Op1))
+ return PoisonValue::get(Op0->getType());
+
+
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/65676
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/65676
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1309,6 +1309,13 @@ void Sema::ActOnPragmaFPReassociate(SourceLocation Loc,
bool IsEnabled) {
CurFPFeatures = NewFPFeatures.applyOverrides(getLangOpts());
}
+void Sema::ActOnPragmaFPReciprocal(SourceLocation Loc, bool IsEnabled) {
arsenm wrote:
Why does
Author: Matt Arsenault
Date: 2023-10-15T11:44:40+09:00
New Revision: 2dc6579f6fb12470559a68886c2a4aecaa8495dd
URL:
https://github.com/llvm/llvm-project/commit/2dc6579f6fb12470559a68886c2a4aecaa8495dd
DIFF:
https://github.com/llvm/llvm-project/commit/2dc6579f6fb12470559a68886c2a4aecaa8495dd.diff
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/67118
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm commented:
The test updates to update the target can be done in a precommit.
Is this dropping read support?
https://github.com/llvm/llvm-project/pull/65715
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists
Author: Matt Arsenault
Date: 2023-09-09T23:14:12+03:00
New Revision: 6a08cf12d9cbc960159bf40e47078a882ca510ce
URL:
https://github.com/llvm/llvm-project/commit/6a08cf12d9cbc960159bf40e47078a882ca510ce
DIFF:
https://github.com/llvm/llvm-project/commit/6a08cf12d9cbc960159bf40e47078a882ca510ce.diff
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/65410
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
Could split all the test updates to a pre-commit but doesn't really matter
https://github.com/llvm/llvm-project/pull/65715
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.
https://github.com/arsenm labeled
https://github.com/llvm/llvm-project/pull/65737
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -375,6 +375,11 @@ class ReturnValueSlot {
bool isExternallyDestructed() const { return IsExternallyDestructed; }
};
+/// If \p F "target-features" are incompatible with the \p TargetOpts features,
arsenm wrote:
I think this comment needs more elaboration
@@ -0,0 +1,31 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --check-globals --version 3
+// RUN: %clang_cc1 -cc1 -triple amdgcn-amd-amdhsa -emit-llvm %s -o - |
FileCheck %s
+
+int [[clang::opencl_global]] a = 0;
+int [[clang::opencl_
@@ -0,0 +1,31 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --check-globals --version 3
+// RUN: %clang_cc1 -cc1 -triple amdgcn-amd-amdhsa -emit-llvm %s -o - |
FileCheck %s
+
+int [[clang::opencl_global]] a = 0;
+int [[clang::opencl_
@@ -0,0 +1,52 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --check-globals --version 3
+// RUN: %clang_cc1 -cc1 -triple amdgcn-amd-amdhsa -emit-llvm %s -o - |
FileCheck %s
+
+int [[clang::opencl_global]] a = 1;
+int [[clang::opencl_
arsenm wrote:
> The assertion is for preventing language-specific address space e.g. OpenCL
> addr space from being used in addr space agnostic languages.
If the intent was to forbid this it should be a proper error. Part of the point
is to use these from other languages
https://github.com/l
Valentin Clement =?utf-8?b?KOODkOODrOODsw==?=,
Valentin Clement =?utf-8?b?KOODkOODrOODsw==?=,Jonas Devlieghere
,Douglas Yung ,daisy202309
<144047963+daisy202...@users.noreply.github.com>,Jonas Devlieghere
,Mehdi Amini ,Siva Chandra
,Jonas Devlieghere ,
Valentin Clement =?utf-8?b?KOODkOODrOODsw=
Author: Matt Arsenault
Date: 2023-07-07T09:26:07-04:00
New Revision: 9a97e3bf8c3f576b29dfcd76925b6c23b3961b99
URL:
https://github.com/llvm/llvm-project/commit/9a97e3bf8c3f576b29dfcd76925b6c23b3961b99
DIFF:
https://github.com/llvm/llvm-project/commit/9a97e3bf8c3f576b29dfcd76925b6c23b3961b99.diff
Author: Matt Arsenault
Date: 2023-07-07T09:26:40-04:00
New Revision: 9a317516a515f3c5b15f9060329a503e8f261c7f
URL:
https://github.com/llvm/llvm-project/commit/9a317516a515f3c5b15f9060329a503e8f261c7f
DIFF:
https://github.com/llvm/llvm-project/commit/9a317516a515f3c5b15f9060329a503e8f261c7f.diff
Author: Matt Arsenault
Date: 2023-07-07T15:28:21-04:00
New Revision: 75b79019013b0891fe5afcd19097ad3c5958d34d
URL:
https://github.com/llvm/llvm-project/commit/75b79019013b0891fe5afcd19097ad3c5958d34d
DIFF:
https://github.com/llvm/llvm-project/commit/75b79019013b0891fe5afcd19097ad3c5958d34d.diff
Author: Matt Arsenault
Date: 2023-07-07T15:28:21-04:00
New Revision: 42d4c85ca83f25f993444fb5bbaa58525f724991
URL:
https://github.com/llvm/llvm-project/commit/42d4c85ca83f25f993444fb5bbaa58525f724991
DIFF:
https://github.com/llvm/llvm-project/commit/42d4c85ca83f25f993444fb5bbaa58525f724991.diff
Author: Matt Arsenault
Date: 2023-07-11T19:51:38-04:00
New Revision: fd2254b7358d0f78a79784688bd8012c1a52b9cf
URL:
https://github.com/llvm/llvm-project/commit/fd2254b7358d0f78a79784688bd8012c1a52b9cf
DIFF:
https://github.com/llvm/llvm-project/commit/fd2254b7358d0f78a79784688bd8012c1a52b9cf.diff
Author: Matt Arsenault
Date: 2023-07-14T18:46:18-04:00
New Revision: bac2a075408377a8aa41f6626b17bb3e471221f3
URL:
https://github.com/llvm/llvm-project/commit/bac2a075408377a8aa41f6626b17bb3e471221f3
DIFF:
https://github.com/llvm/llvm-project/commit/bac2a075408377a8aa41f6626b17bb3e471221f3.diff
Author: Matt Arsenault
Date: 2023-08-23T20:30:40-04:00
New Revision: 61c8af67924b02c8f2cf871439c24650a0207f29
URL:
https://github.com/llvm/llvm-project/commit/61c8af67924b02c8f2cf871439c24650a0207f29
DIFF:
https://github.com/llvm/llvm-project/commit/61c8af67924b02c8f2cf871439c24650a0207f29.diff
Author: Matt Arsenault
Date: 2023-08-29T19:46:24-04:00
New Revision: 8f48392bc05a130218a15c65302f684988921307
URL:
https://github.com/llvm/llvm-project/commit/8f48392bc05a130218a15c65302f684988921307
DIFF:
https://github.com/llvm/llvm-project/commit/8f48392bc05a130218a15c65302f684988921307.diff
Author: Matt Arsenault
Date: 2023-09-03T09:00:27-04:00
New Revision: 65b40f273f09a53f61a13ac6f4bb65ec4ac63d6e
URL:
https://github.com/llvm/llvm-project/commit/65b40f273f09a53f61a13ac6f4bb65ec4ac63d6e
DIFF:
https://github.com/llvm/llvm-project/commit/65b40f273f09a53f61a13ac6f4bb65ec4ac63d6e.diff
Author: Matt Arsenault
Date: 2022-11-28T18:02:20-05:00
New Revision: aa4acea8cd8d30b6c8b5d539217be0d5c76db625
URL:
https://github.com/llvm/llvm-project/commit/aa4acea8cd8d30b6c8b5d539217be0d5c76db625
DIFF:
https://github.com/llvm/llvm-project/commit/aa4acea8cd8d30b6c8b5d539217be0d5c76db625.diff
Author: Matt Arsenault
Date: 2022-11-29T11:48:46-05:00
New Revision: 91ba8b2b8dc44355851f2953ea3eeea21c230c53
URL:
https://github.com/llvm/llvm-project/commit/91ba8b2b8dc44355851f2953ea3eeea21c230c53
DIFF:
https://github.com/llvm/llvm-project/commit/91ba8b2b8dc44355851f2953ea3eeea21c230c53.diff
Author: Matt Arsenault
Date: 2022-12-01T17:00:44-05:00
New Revision: e748db0f7f0971dc258c6631ae1fb0a38cfdf9dd
URL:
https://github.com/llvm/llvm-project/commit/e748db0f7f0971dc258c6631ae1fb0a38cfdf9dd
DIFF:
https://github.com/llvm/llvm-project/commit/e748db0f7f0971dc258c6631ae1fb0a38cfdf9dd.diff
Author: Matt Arsenault
Date: 2022-12-01T17:59:40-05:00
New Revision: f885ae231033877abcabf921815f75fae310f6bf
URL:
https://github.com/llvm/llvm-project/commit/f885ae231033877abcabf921815f75fae310f6bf
DIFF:
https://github.com/llvm/llvm-project/commit/f885ae231033877abcabf921815f75fae310f6bf.diff
Author: Matt Arsenault
Date: 2020-03-23T16:51:25-04:00
New Revision: 3f533006ba8c8ae6f3596f49f480aa794ed4e347
URL:
https://github.com/llvm/llvm-project/commit/3f533006ba8c8ae6f3596f49f480aa794ed4e347
DIFF:
https://github.com/llvm/llvm-project/commit/3f533006ba8c8ae6f3596f49f480aa794ed4e347.diff
Author: Matt Arsenault
Date: 2020-03-26T12:19:34-04:00
New Revision: 40076c14fef509d0304cbdad49ba64113f4816fd
URL:
https://github.com/llvm/llvm-project/commit/40076c14fef509d0304cbdad49ba64113f4816fd
DIFF:
https://github.com/llvm/llvm-project/commit/40076c14fef509d0304cbdad49ba64113f4816fd.diff
Author: Matt Arsenault
Date: 2020-03-31T18:00:37-04:00
New Revision: c9d65a48af1d7bbfed7e785613cc9d9acf71821b
URL:
https://github.com/llvm/llvm-project/commit/c9d65a48af1d7bbfed7e785613cc9d9acf71821b
DIFF:
https://github.com/llvm/llvm-project/commit/c9d65a48af1d7bbfed7e785613cc9d9acf71821b.diff
501 - 600 of 2693 matches
Mail list logo