Author: Francesco Petrogalli
Date: 2020-06-03T14:44:07Z
New Revision: 36b8af11d343911e05c919fc68d1352f49bc087c
URL:
https://github.com/llvm/llvm-project/commit/36b8af11d343911e05c919fc68d1352f49bc087c
DIFF:
https://github.com/llvm/llvm-project/commit/36b8af11d343911e05c919fc68d1352f49bc087c.dif
Author: Francesco Petrogalli
Date: 2020-06-15T16:52:36Z
New Revision: 017969de766287ec6c2fc82128c62d1d1dad7bd8
URL:
https://github.com/llvm/llvm-project/commit/017969de766287ec6c2fc82128c62d1d1dad7bd8
DIFF:
https://github.com/llvm/llvm-project/commit/017969de766287ec6c2fc82128c62d1d1dad7bd8.dif
Author: Francesco Petrogalli
Date: 2020-07-14T17:42:28Z
New Revision: 438e95e95bfc038aaf7719ad9dc20f57fa424d22
URL:
https://github.com/llvm/llvm-project/commit/438e95e95bfc038aaf7719ad9dc20f57fa424d22
DIFF:
https://github.com/llvm/llvm-project/commit/438e95e95bfc038aaf7719ad9dc20f57fa424d22.dif
Author: Francesco Petrogalli
Date: 2020-06-18T16:36:31Z
New Revision: 3e59dfc301240ffb5e82bc43e05225d0d51d5cfa
URL:
https://github.com/llvm/llvm-project/commit/3e59dfc301240ffb5e82bc43e05225d0d51d5cfa
DIFF:
https://github.com/llvm/llvm-project/commit/3e59dfc301240ffb5e82bc43e05225d0d51d5cfa.dif
Author: Francesco Petrogalli
Date: 2020-06-22T16:53:02Z
New Revision: ef597eda8efc2e6ee35eceda10bb5ba7c6109696
URL:
https://github.com/llvm/llvm-project/commit/ef597eda8efc2e6ee35eceda10bb5ba7c6109696
DIFF:
https://github.com/llvm/llvm-project/commit/ef597eda8efc2e6ee35eceda10bb5ba7c6109696.dif
Author: Francesco Petrogalli
Date: 2020-06-25T16:31:01Z
New Revision: 7200fa38a912d0d9ec407ccdd7c4d924979da160
URL:
https://github.com/llvm/llvm-project/commit/7200fa38a912d0d9ec407ccdd7c4d924979da160
DIFF:
https://github.com/llvm/llvm-project/commit/7200fa38a912d0d9ec407ccdd7c4d924979da160.dif
Author: Francesco Petrogalli
Date: 2020-06-26T15:20:58Z
New Revision: a15722c5ce4759c12960fe434ee6bd8aac70bb16
URL:
https://github.com/llvm/llvm-project/commit/a15722c5ce4759c12960fe434ee6bd8aac70bb16
DIFF:
https://github.com/llvm/llvm-project/commit/a15722c5ce4759c12960fe434ee6bd8aac70bb16.dif
Author: Francesco Petrogalli
Date: 2020-06-26T20:19:49Z
New Revision: ff5ccf258e297df29f32d6b5e4fa0a7b95c44f9c
URL:
https://github.com/llvm/llvm-project/commit/ff5ccf258e297df29f32d6b5e4fa0a7b95c44f9c
DIFF:
https://github.com/llvm/llvm-project/commit/ff5ccf258e297df29f32d6b5e4fa0a7b95c44f9c.dif
Author: Francesco Petrogalli
Date: 2020-06-26T20:45:29Z
New Revision: ddbdff3accb667860d4cbd436746ca28ea343b25
URL:
https://github.com/llvm/llvm-project/commit/ddbdff3accb667860d4cbd436746ca28ea343b25
DIFF:
https://github.com/llvm/llvm-project/commit/ddbdff3accb667860d4cbd436746ca28ea343b25.dif
Author: Francesco Petrogalli
Date: 2020-06-29T16:09:08Z
New Revision: 67e4330facfbf798ecc40cd2449f70e6758078b9
URL:
https://github.com/llvm/llvm-project/commit/67e4330facfbf798ecc40cd2449f70e6758078b9
DIFF:
https://github.com/llvm/llvm-project/commit/67e4330facfbf798ecc40cd2449f70e6758078b9.dif
Author: Francesco Petrogalli
Date: 2020-05-01T21:19:00Z
New Revision: 7585ba208e67443d0fbc883db320934c65312b02
URL:
https://github.com/llvm/llvm-project/commit/7585ba208e67443d0fbc883db320934c65312b02
DIFF:
https://github.com/llvm/llvm-project/commit/7585ba208e67443d0fbc883db320934c65312b02.dif
Author: Francesco Petrogalli
Date: 2020-05-05T16:27:20Z
New Revision: 4fa13a3dac1e0ff4dbab8810ae0dc413ce6bc927
URL:
https://github.com/llvm/llvm-project/commit/4fa13a3dac1e0ff4dbab8810ae0dc413ce6bc927
DIFF:
https://github.com/llvm/llvm-project/commit/4fa13a3dac1e0ff4dbab8810ae0dc413ce6bc927.dif
Author: Francesco Petrogalli
Date: 2020-05-18T22:02:19Z
New Revision: e2cc12e412821b05b4c31b74068976a90f167f1e
URL:
https://github.com/llvm/llvm-project/commit/e2cc12e412821b05b4c31b74068976a90f167f1e
DIFF:
https://github.com/llvm/llvm-project/commit/e2cc12e412821b05b4c31b74068976a90f167f1e.dif
Author: Francesco Petrogalli
Date: 2020-05-18T23:07:23Z
New Revision: b593bfd4d8e3716c80d4313b5a0eeeb6e9575a74
URL:
https://github.com/llvm/llvm-project/commit/b593bfd4d8e3716c80d4313b5a0eeeb6e9575a74
DIFF:
https://github.com/llvm/llvm-project/commit/b593bfd4d8e3716c80d4313b5a0eeeb6e9575a74.dif
https://github.com/fpetrogalli edited
https://github.com/llvm/llvm-project/pull/71513
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fpetrogalli approved this pull request.
LGTM, with a couple of minor nits.
Thanks!
https://github.com/llvm/llvm-project/pull/71513
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
@@ -44,6 +45,11 @@ static const CPUInfo *getCPUInfoByName(StringRef CPU) {
return nullptr;
}
+bool hasFastUnalignedAccess(StringRef CPU) {
+ const CPUInfo *Info = getCPUInfoByName(CPU);
+ return Info && Info->FastUnalignedAccess;
fpetrogalli wrote:
Would
@@ -60,9 +60,14 @@ static void EmitRISCVTargetDef(RecordKeeper &RK, raw_ostream
&OS) {
if (MArch.empty())
MArch = getMArch(*Rec);
+bool FastUnalignedAccess =
fpetrogalli wrote:
```suggestion
const bool FastUnalignedAccess =
```
https://git
https://github.com/fpetrogalli approved this pull request.
https://github.com/llvm/llvm-project/pull/84186
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fpetrogalli created
https://github.com/llvm/llvm-project/pull/82797
I wanted to get a sense if people are OK for me to provide unit tests in
`clang/unittests/Support` for the the parsing function I factored out from
`clang-tblgen` into `clangSupport`.
The refactoring would
fpetrogalli wrote:
I have added for feedback all people involved in
https://github.com/llvm/llvm-project/pull/68324
https://github.com/llvm/llvm-project/pull/82797
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
https://github.com/fpetrogalli edited
https://github.com/llvm/llvm-project/pull/82797
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fpetrogalli created
https://github.com/llvm/llvm-project/pull/83584
Clang extended vector types are mangled as follows:
ext_vector_type__
This is used to defetmine the builtins signature for builtins that use
parmeters defined as
typedef ext_vector_type__
__attrib
fpetrogalli wrote:
@philnik777 - thank you for the patch at
https://github.com/llvm/llvm-project/pull/68324
I am extending the parser to be able to recognise clang extended vectors.
Thanks!
Francesco
https://github.com/llvm/llvm-project/pull/83584
___
https://github.com/fpetrogalli edited
https://github.com/llvm/llvm-project/pull/83584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fpetrogalli updated
https://github.com/llvm/llvm-project/pull/83584
>From 2b4d67bf59d609321701540a15f48eda04688652 Mon Sep 17 00:00:00 2001
From: Vinayak Dev <104419489+vinayakd...@users.noreply.github.com>
Date: Fri, 1 Mar 2024 21:10:46 +0530
Subject: [PATCH 1/3] [Clang][Sema
https://github.com/fpetrogalli updated
https://github.com/llvm/llvm-project/pull/83584
>From 9cd3e17192833e2cbafed55b649307ead32dcc3e Mon Sep 17 00:00:00 2001
From: Francesco Petrogalli
Date: Fri, 1 Mar 2024 16:23:57 +0100
Subject: [PATCH 1/4] [clang][Builtins] Parse clang extended vectors type
fpetrogalli wrote:
> > @philnik777 - thank you for the patch at #68324
>
> You're welcome!
>
> FWIW I'd find a syntax like `_ExtVector` better. The underscore and
> upper case to make it clear that it's non-standard and the angle bracket
> syntax since it's kind-of a template. This unfortunat
fpetrogalli wrote:
Other C++ compatible option: provide a family of templates, one for each number
of lanes, templated on the type:
```
_ExtVector_N
```
So that we need up having:
```
_ExtVector_2
_ExtVector_6
...
```
This would be pretty easy to handle, without introducing extra complicatio
https://github.com/fpetrogalli updated
https://github.com/llvm/llvm-project/pull/83584
>From 53d9fe77500a18884f200c49db57336324305620 Mon Sep 17 00:00:00 2001
From: Francesco Petrogalli
Date: Fri, 1 Mar 2024 16:23:57 +0100
Subject: [PATCH] [clang][Builtins] Parse clang extended vectors types.
https://github.com/fpetrogalli edited
https://github.com/llvm/llvm-project/pull/83584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
fpetrogalli wrote:
@francisvm / @philnik777 - I have opted for:
'_ExtVector<' ',' '>'
The reason for specifying first is due to the fact that it makes it
simpler to build the final string, because the `ParseType` function is
recursive.
https://github.com/llvm/llvm-project/pull/83584
_
@@ -85,6 +123,23 @@ class PrototypeParser {
if (Substitution.empty())
PrintFatalError(Loc, "Not a template");
ParseType(Substitution);
+} else if (T.consume_front("_ExtVector")) {
+ // Clang extended vector types are mangled as follows:
+ //
+
https://github.com/fpetrogalli updated
https://github.com/llvm/llvm-project/pull/83584
>From 53d9fe77500a18884f200c49db57336324305620 Mon Sep 17 00:00:00 2001
From: Francesco Petrogalli
Date: Fri, 1 Mar 2024 16:23:57 +0100
Subject: [PATCH 1/2] [clang][Builtins] Parse clang extended vectors type
https://github.com/fpetrogalli updated
https://github.com/llvm/llvm-project/pull/83584
>From 53d9fe77500a18884f200c49db57336324305620 Mon Sep 17 00:00:00 2001
From: Francesco Petrogalli
Date: Fri, 1 Mar 2024 16:23:57 +0100
Subject: [PATCH 1/3] [clang][Builtins] Parse clang extended vectors type
@@ -0,0 +1,79 @@
+// RUN: clang-tblgen -I %p/../../../clang/include/ %s --gen-clang-builtins |
FileCheck %s
+// RUN: not clang-tblgen -I %p/../../../clang/include/ %s --gen-clang-builtins
-DERROR_EXPECTED_LANES 2>&1 | FileCheck %s --check-prefix=ERROR_EXPECTED_LANES
+// RUN: not
https://github.com/fpetrogalli edited
https://github.com/llvm/llvm-project/pull/83584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fpetrogalli closed
https://github.com/llvm/llvm-project/pull/83584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
fpetrogalli wrote:
@philnik777 - do you plan to use the TD definitions of the builtins anywhere
else in the compiler?
Francesco
https://github.com/llvm/llvm-project/pull/68324
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
Author: Francesco Petrogalli
Date: 2020-11-16T14:49:45Z
New Revision: 02bdbdc76021fcfb8cae465363b362cb889406d2
URL:
https://github.com/llvm/llvm-project/commit/02bdbdc76021fcfb8cae465363b362cb889406d2
DIFF:
https://github.com/llvm/llvm-project/commit/02bdbdc76021fcfb8cae465363b362cb889406d2.dif
Author: Francesco Petrogalli
Date: 2020-11-25T10:16:43Z
New Revision: e592dde6889b5119eb2794a30aca57c3760cab67
URL:
https://github.com/llvm/llvm-project/commit/e592dde6889b5119eb2794a30aca57c3760cab67
DIFF:
https://github.com/llvm/llvm-project/commit/e592dde6889b5119eb2794a30aca57c3760cab67.dif
Author: Francesco Petrogalli
Date: 2023-01-11T10:00:04+01:00
New Revision: cf7a8305a2b4ddfd299c748136cb9a2960ef7089
URL:
https://github.com/llvm/llvm-project/commit/cf7a8305a2b4ddfd299c748136cb9a2960ef7089
DIFF:
https://github.com/llvm/llvm-project/commit/cf7a8305a2b4ddfd299c748136cb9a2960ef708
Author: Francesco Petrogalli
Date: 2023-01-11T10:22:56+01:00
New Revision: 8bd65e535fb33bc48805bafed8217b16a853e158
URL:
https://github.com/llvm/llvm-project/commit/8bd65e535fb33bc48805bafed8217b16a853e158
DIFF:
https://github.com/llvm/llvm-project/commit/8bd65e535fb33bc48805bafed8217b16a853e15
Author: Francesco Petrogalli
Date: 2023-01-11T11:18:44+01:00
New Revision: ac1ffd3caca12c254e0b8c847aa8ce8e51b6cfbf
URL:
https://github.com/llvm/llvm-project/commit/ac1ffd3caca12c254e0b8c847aa8ce8e51b6cfbf
DIFF:
https://github.com/llvm/llvm-project/commit/ac1ffd3caca12c254e0b8c847aa8ce8e51b6cfb
Author: Francesco Petrogalli
Date: 2023-01-31T16:12:46+01:00
New Revision: 20f3ebd258851e801cb5c2baf92e895c72695858
URL:
https://github.com/llvm/llvm-project/commit/20f3ebd258851e801cb5c2baf92e895c72695858
DIFF:
https://github.com/llvm/llvm-project/commit/20f3ebd258851e801cb5c2baf92e895c7269585
Author: Francesco Petrogalli
Date: 2023-01-23T22:11:47+01:00
New Revision: 52bcdac3b8425e20023151bb726b56fd6f62ec17
URL:
https://github.com/llvm/llvm-project/commit/52bcdac3b8425e20023151bb726b56fd6f62ec17
DIFF:
https://github.com/llvm/llvm-project/commit/52bcdac3b8425e20023151bb726b56fd6f62ec1
Author: Francesco Petrogalli
Date: 2023-01-23T22:31:34+01:00
New Revision: 20ffb9aaf982f341c1ea34808e002daa5be0df76
URL:
https://github.com/llvm/llvm-project/commit/20ffb9aaf982f341c1ea34808e002daa5be0df76
DIFF:
https://github.com/llvm/llvm-project/commit/20ffb9aaf982f341c1ea34808e002daa5be0df7
https://github.com/fpetrogalli created
https://github.com/llvm/llvm-project/pull/66347:
The cl::opt used by MCTargetOptions are not created until
RegisterMCTargetOptionsFlags is instantiated. Due to this deferral the compiler
driver -mllvm path is unable to parse flags such as --no-deprecated-
https://github.com/fpetrogalli review_requested
https://github.com/llvm/llvm-project/pull/66347
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fpetrogalli review_requested
https://github.com/llvm/llvm-project/pull/66347
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fpetrogalli created
https://github.com/llvm/llvm-project/pull/66497
This change is needed to be able to refer to TD files that are not stored in
${CMAKE_CURRENT_SOURCE_DIR}.
>From 1887649a491b353f4e6a9a318fa2b150db268868 Mon Sep 17 00:00:00 2001
From: Francesco Petrogalli
D
https://github.com/fpetrogalli closed
https://github.com/llvm/llvm-project/pull/66497
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
fpetrogalli wrote:
Hi @tstellar - this is the wrong approach, I will abandon the patch. Apologies
for the noise!
https://github.com/llvm/llvm-project/pull/66497
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
Author: Francesco Petrogalli
Date: 2023-04-05T00:08:14+02:00
New Revision: 029212617ca8bdedd949d17bf2d33750605ea607
URL:
https://github.com/llvm/llvm-project/commit/029212617ca8bdedd949d17bf2d33750605ea607
DIFF:
https://github.com/llvm/llvm-project/commit/029212617ca8bdedd949d17bf2d33750605ea60
Author: Francesco Petrogalli
Date: 2023-04-05T20:55:08+02:00
New Revision: 385bcc65ff44d9860572ee85adb5df1333860a05
URL:
https://github.com/llvm/llvm-project/commit/385bcc65ff44d9860572ee85adb5df1333860a05
DIFF:
https://github.com/llvm/llvm-project/commit/385bcc65ff44d9860572ee85adb5df1333860a0
On 23 Mar 2017, at 17:31, Tian, Xinmin wrote:
> What is the error in the spec?
>
Hi Xinmin - there is nothing wrong with the specs for x86.
The problem is that the way the CDT is computed is not optimal for AArch64. We
are in the process of re-defining it specifically for AArch64.
Francesco
https://github.com/fpetrogalli approved this pull request.
https://github.com/llvm/llvm-project/pull/89684
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
57 matches
Mail list logo