https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/134430
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/134430
>From 951dc421024f0a5fe7148734eb6efe8d457bc4f6 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 4 Apr 2025 14:31:54 -0400
Subject: [PATCH 1/3] [PowerPC] Update altivec.h to use __inline__ for c89
compatibilit
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/134430
>From 951dc421024f0a5fe7148734eb6efe8d457bc4f6 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 4 Apr 2025 14:31:54 -0400
Subject: [PATCH 1/2] [PowerPC] Update altivec.h to use __inline__ for c89
compatibilit
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/134430
None
>From 951dc421024f0a5fe7148734eb6efe8d457bc4f6 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 4 Apr 2025 14:31:54 -0400
Subject: [PATCH] [PowerPC] Update altivec.h to use __inline__ for c89
compatibil
lei137 wrote:
@johnplatts Please resolve the conflicts for this PR.
https://github.com/llvm/llvm-project/pull/129923
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/130324
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 commented:
Thank-you for the fix John!
It would be good if your patch can show the changes that is being introduced
via this patch. In prep for that I have put up a
[PR](https://github.com/llvm/llvm-project/pull/130324) to add the existing
checks for this test. Can
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/130324
Update tests in pref for IR changes that will be introduced in
https://github.com/llvm/llvm-project/pull/129923
>From 51c05790f7cd38e6db324dcd55b7491118b1c3e2 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri,
https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/118004
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/118004
>From e2046b5000e1a6e104121a8022d33f4f181f5d03 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Wed, 27 Nov 2024 18:44:38 +
Subject: [PATCH 1/7] update llc tc affected
---
.../CostModel/PowerPC/load-to-trunc.
lei137 wrote:
ping
https://github.com/llvm/llvm-project/pull/118004
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/118004
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -473,7 +473,7 @@ class LLVM_LIBRARY_VISIBILITY PS3PPUTargetInfo : public
OSTargetInfo {
this->IntMaxType = TargetInfo::SignedLongLong;
this->Int64Type = TargetInfo::SignedLongLong;
this->SizeType = TargetInfo::UnsignedInt;
-this->resetDataLayout("E-m:e-p:32:
https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/118004
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/118004
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -473,7 +473,7 @@ class LLVM_LIBRARY_VISIBILITY PS3PPUTargetInfo : public
OSTargetInfo {
this->IntMaxType = TargetInfo::SignedLongLong;
this->Int64Type = TargetInfo::SignedLongLong;
this->SizeType = TargetInfo::UnsignedInt;
-this->resetDataLayout("E-m:e-p:32:
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/118004
>From ae5beae74fcd7717bf40519c80a9d920625bb137 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Wed, 27 Nov 2024 18:44:38 +
Subject: [PATCH 1/7] update llc tc affected
---
.../CostModel/PowerPC/load-to-trunc.
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/118004
>From ae5beae74fcd7717bf40519c80a9d920625bb137 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Wed, 27 Nov 2024 18:44:38 +
Subject: [PATCH 1/6] update llc tc affected
---
.../CostModel/PowerPC/load-to-trunc.
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/118004
>From 6abea65c2667ecc0389c95e8a5527c360317524b Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Wed, 27 Nov 2024 18:44:38 +
Subject: [PATCH 1/6] update llc tc affected
---
.../CostModel/PowerPC/load-to-trunc.
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/118004
Fix 64-bit PowerPC part of https://github.com/llvm/llvm-project/issues/102783.
>From 6abea65c2667ecc0389c95e8a5527c360317524b Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Wed, 27 Nov 2024 18:44:38 +
Subjec
lei137 wrote:
> Will this affect the code that is generated for ‘__vector_quad’ values? There
> is no direct way to load and store those so they will use pair loads and
> stores.
Not AFAIK. The change will get the alignment from the type given. The LIT test
being updated also have `alloca` an
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/108606
>From 7d0d50768c75f57663d1c487157c8969e621f128 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 13 Sep 2024 17:11:09 +
Subject: [PATCH] [PowerPC] Fix incorrect store alignment for
__builtin_vsx_build_pair
https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/108606
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -18197,7 +18197,7 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned
BuiltinID,
CallOps.push_back(Ops[i]);
llvm::Function *F = CGM.getIntrinsic(ID);
Value *Call = Builder.CreateCall(F, CallOps);
-return Builder.CreateAlignedStore(Call, Ops[0], MaybeAli
@@ -18197,7 +18197,7 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned
BuiltinID,
CallOps.push_back(Ops[i]);
llvm::Function *F = CGM.getIntrinsic(ID);
Value *Call = Builder.CreateCall(F, CallOps);
-return Builder.CreateAlignedStore(Call, Ops[0], MaybeAli
@@ -18197,7 +18197,7 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned
BuiltinID,
CallOps.push_back(Ops[i]);
llvm::Function *F = CGM.getIntrinsic(ID);
Value *Call = Builder.CreateCall(F, CallOps);
-return Builder.CreateAlignedStore(Call, Ops[0], MaybeAli
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/108606
Fixes #107229
>From 2c268981bb25cd1a1ed6c121789c5bd763fb1296 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 13 Sep 2024 17:11:09 +
Subject: [PATCH] [PowerPC] Fix incorrect store alignment for
__builtin
https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/108584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/108584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/108584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/108584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/108584
>From 70077d359e2f98a3c4b24fcf638a51c6a0272473 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 13 Sep 2024 15:00:19 +
Subject: [PATCH 1/2] [PowerPC][NFC] autogen mma tc checks via
llvm/utils/update_cc_te
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/108584
Checks for clang/test/CodeGen/PowerPC/builtins-ppc-pair-mma-types.c seem to
have been manually upated to rename temp variables even though it says checks
was auto generated. Regenerate via script in prep for ch
https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/104816
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/104816
>From ea3a071a2255fa103f5097272b2fa896a3d4b979 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Mon, 19 Aug 2024 12:24:31 -0400
Subject: [PATCH 1/3] Fix codegen for transparent_union function params
Update codegen
lei137 wrote:
> May it make sense to add tests with the argument passed in memory / by
> reference?
@s-barannikov Done.
https://github.com/llvm/llvm-project/pull/104816
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/c
lei137 wrote:
> s-barannikov
done.
https://github.com/llvm/llvm-project/pull/104816
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/104816
>From 5ceb717b6f9ce11a12fde4aa9aaa89b4e017ef70 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Mon, 19 Aug 2024 12:24:31 -0400
Subject: [PATCH 1/3] Fix codegen for transparent_union function params
Update codegen
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/104816
>From 5ceb717b6f9ce11a12fde4aa9aaa89b4e017ef70 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Mon, 19 Aug 2024 12:24:31 -0400
Subject: [PATCH 1/2] Fix codegen for transparent_union function params
Update codegen
lei137 wrote:
> I think the issue could be handled a different (more generic) way, by pulling
> `useFirstFieldIfTransparentUnion` to the caller and taking transparent unions
> into account when emitting LLVM IR for the formal / actual parameters
> somewhere in `CGCall.cpp`, so that ABIInfo imp
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/104816
Update codegen for func param with transparent_union attr to be that of
the first union member.
This is a followup to #101738 to fix non-ppc codegen and closes #76773.
>From 25f458a6f25ff0fa21d59e30934e314da8abc
https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/101738
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From c6a8dee17a0a2eeb3420e04fb445a633dfbee920 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 01/16] [PowerPC] Fix codegen for transparent_union function
params
Up
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 01/16] [PowerPC] Fix codegen for transparent_union function
params
Up
@@ -0,0 +1,123 @@
+; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux -mcpu=pwr7
\
lei137 wrote:
You are right. I verified that this pass even without this update to clang.
Will remove this IR test from the PR.
https://github.com/llvm/llvm-p
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 01/15] [PowerPC] Fix codegen for transparent_union function
params
Up
lei137 wrote:
> I'm not an expert here, but I think the change you made makes sense since the
> `Ty` is supposed to be the first field.
>
> Also, might be a dumb question, I saw we have 32-bit Linux run lines, but is
> that still worth testing?
Thanks for taking a look @amy-kwan. The 32bit l
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 01/14] [PowerPC] Fix codegen for transparent_union function
params
Up
lei137 wrote:
Seems `CGT.ConvertType(Ty)` does what was needed. I've simplified the patch to
use that instead.
https://github.com/llvm/llvm-project/pull/101738
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 01/13] [PowerPC] Fix codegen for transparent_union function
params
Up
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 01/12] [PowerPC] Fix codegen for transparent_union function
params
Up
https://github.com/lei137 ready_for_review
https://github.com/llvm/llvm-project/pull/101738
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/101390
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101390
>From fad942502d77ffe45d23558e9bfa0370b0d06a46 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Mon, 29 Jul 2024 13:06:51 -0400
Subject: [PATCH 1/5] [PPC] Implement BCD assist builtins
Implement BCD assist builtin
https://github.com/lei137 converted_to_draft
https://github.com/llvm/llvm-project/pull/101738
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 01/11] [PowerPC] Fix codegen for transparent_union function
params
Up
lei137 wrote:
I was thinking it would make the code cleaner if we can do something like this
instead:
```
// For transparent union types, return the type of the first element.
-// Set TU to true if Ty given was a transparent union and to false otherwise.
+// and set CTy the integer type of the
lei137 wrote:
> Would it do any harm to just unconditionally compute the type and pass it
> into getExtend()?
This seem to cause issues for type `_Bool`, where it changes the function param
from `i1 noundef zeroext %b1` to `i8 noundef zeroext %b1.coerce`.
```
$cat a.c
void fcall(_Bool);
_B
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 01/10] [PowerPC] Fix codegen for transparent_union function
params
Up
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 1/7] [PowerPC] Fix codegen for transparent_union function
params
Upda
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 1/6] [PowerPC] Fix codegen for transparent_union function
params
Upda
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 1/5] [PowerPC] Fix codegen for transparent_union function
params
Upda
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 1/4] [PowerPC] Fix codegen for transparent_union function
params
Upda
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 1/3] [PowerPC] Fix codegen for transparent_union function
params
Upda
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 1/2] [PowerPC] Fix codegen for transparent_union function
params
Upda
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/101738
Update codegen for func param with transparent_union attr to be that of the
first union member.
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:5
@@ -515,6 +515,16 @@ TARGET_BUILTIN(__builtin_altivec_vctzh, "V8UsV8Us", "",
"power9-vector")
TARGET_BUILTIN(__builtin_altivec_vctzw, "V4UiV4Ui", "", "power9-vector")
TARGET_BUILTIN(__builtin_altivec_vctzd, "V2ULLiV2ULLi", "", "power9-vector")
+// P7 BCD builtins.
+TARGET_BUI
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/101390
Implement BCD assist builtins for XL and GCC compatibility.
GCC compat:
```
unsigned int __builtin_cdtbcd (unsigned int);
unsigned int __builtin_cbcdtd (unsigned int);
unsigned int __builtin_addg6s (unsigned int,
lei137 wrote:
I'm getting a build failure with `-Werror` on powerpc from this:
```
~llvm-project/clang/lib/CodeGen/LinkInModulesPass.cpp:24:19: error: field
'ShouldLinkFiles' is uninitialized when used here [-Werror,-Wuninitialized]
407324 | ShouldLinkFiles(ShouldLinkFiles) {}
4074 |
https://github.com/lei137 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/82809
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,43 @@
+// RUN: %clang_cc1 -triple powerpc-ibm-aix7.2.0.0 -emit-llvm -o - %s |
FileCheck %s
+
+int main() {
+ int ret = 0;
+ ret += __builtin_cpu_supports("vsx");
+ ret += __builtin_cpu_supports("htm");
+ ret += __builtin_cpu_supports("cellbe");
+ ret += __builti
@@ -141,46 +149,98 @@ PPC_LNX_CPU("power10",47)
#define AIX_BUILTIN_PPC_TRUE 1
#define AIX_BUILTIN_PPC_FALSE 0
#define USE_SYS_CONF 2
-
- // Supported COMPARE_OP values.
- #define COMP_EQ 0
-
+ #define SYS_CALL 3
#endif
// The value of SUPPORT_METHOD can be AIX_BU
https://github.com/lei137 approved this pull request.
LGTM
Please address remaining nits before commit.
https://github.com/llvm/llvm-project/pull/80069
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
@@ -126,4 +126,57 @@ PPC_LNX_CPU("power10",47)
#undef PPC_LNX_DEFINE_OFFSETS
#undef PPC_LNX_FEATURE
#undef PPC_LNX_CPU
+
+// Definition of following value are found in the AIX header file
+#ifndef AIX_POWERPC_SYS_CONF
+#define AIX_POWERPC_SYS_CONF
+#define AIX_SYSCON_IMPL_IDX
https://github.com/lei137 dismissed
https://github.com/llvm/llvm-project/pull/80069
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 approved this pull request.
https://github.com/llvm/llvm-project/pull/80069
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 approved this pull request.
https://github.com/llvm/llvm-project/pull/80069
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -126,4 +126,59 @@ PPC_LNX_CPU("power10",47)
#undef PPC_LNX_DEFINE_OFFSETS
#undef PPC_LNX_FEATURE
#undef PPC_LNX_CPU
+
+// Definition of the following values are found in the AIX header
+// file: .
+#ifndef AIX_POWERPC_USE_SYS_CONF
+ #define AIX_POWERPC_USE_SYS_CONF
+ #defi
@@ -126,4 +126,59 @@ PPC_LNX_CPU("power10",47)
#undef PPC_LNX_DEFINE_OFFSETS
#undef PPC_LNX_FEATURE
#undef PPC_LNX_CPU
+
+// Definition of the following values are found in the AIX header
+// file: .
+#ifndef AIX_POWERPC_USE_SYS_CONF
+ #define AIX_POWERPC_USE_SYS_CONF
+ #defi
https://github.com/lei137 edited https://github.com/llvm/llvm-project/pull/80069
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 edited https://github.com/llvm/llvm-project/pull/80069
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 deleted
https://github.com/llvm/llvm-project/pull/80069
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -10347,6 +10347,8 @@ def err_x86_builtin_tile_arg_duplicate : Error<
def err_builtin_target_unsupported : Error<
"builtin is not supported on this target">;
+def err_builtin_aix_os_unsupported : Error<
+ "this builtin is available only on AIX 7.2 and later operating syst
lei137 wrote:
@owenca This PR broke the following PowerPC bots:
* https://lab.llvm.org/buildbot/#/builders/230
* https://lab.llvm.org/buildbot/#/builders/121
But the rhel both https://lab.llvm.org/buildbot/#/builders/57 is fine.
AFAIK the only difference between these bots is that builder 57 i
https://github.com/lei137 approved this pull request.
LGTM
Thx for the quick fix.
https://github.com/llvm/llvm-project/pull/80058
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
lei137 wrote:
Hi Aokamal,
This maco was not taken into account in the implementation. Can you please open
a bug and assign the issue to nemanjai?
Thank-you for reporting this.
Regards,
Lei
From: Aokamal ***@***.***>
Date: Tuesday, January 30, 2024 at 10:30 AM
To: llvm/llvm-project ***@***.**
https://github.com/lei137 closed https://github.com/llvm/llvm-project/pull/68919
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 closed https://github.com/llvm/llvm-project/pull/75226
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/75226
>From f38e709e414d1c9dae4f9d75f1decaf363bf9427 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Tue, 12 Dec 2023 10:58:34 -0600
Subject: [PATCH 1/3] [PowerPC] Emit libcall to frexpl for calls to
frexp(ppcDoublDoubl
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/75226
>From 6819814317367cf7fc944a5a1ecedd357bc3cd0a Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Tue, 12 Dec 2023 10:58:34 -0600
Subject: [PATCH 1/3] [PowerPC] Emit libcall to frexpl for calls to
frexp(ppcDoublDoubl
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/75226
>From 2e6a96f141cd103fa40b6926c1d9f0af58c6e72b Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Tue, 12 Dec 2023 10:58:34 -0600
Subject: [PATCH 1/3] [PowerPC] Emit libcall to frexpl for calls to
frexp(ppcDoublDoubl
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/75226
>From 2e6a96f141cd103fa40b6926c1d9f0af58c6e72b Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Tue, 12 Dec 2023 10:58:34 -0600
Subject: [PATCH 1/2] [PowerPC] Emit libcall to frexpl for calls to
frexp(ppcDoublDoubl
@@ -149,6 +153,11 @@ llvm::Constant *CodeGenModule::getBuiltinLibFunction(const
FunctionDecl *FD,
&getTarget().getLongDoubleFormat() == &llvm::APFloat::IEEEquad() &&
F128Builtins.contains(BuiltinID))
Name = F128Builtins[BuiltinID];
+else if (getTriple
lei137 wrote:
> How hard is it to fix the backend to handle this properly? We should already
> have support for other libcalls, I think. I'd like to avoid adding temporary
> hacks to clang.
@efriedma-quic The original failure is becaues we are producing illegal types
after type legalization
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/75226
>From 2e6a96f141cd103fa40b6926c1d9f0af58c6e72b Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Tue, 12 Dec 2023 10:58:34 -0600
Subject: [PATCH] [PowerPC] Emit libcall to frexpl for calls to
frexp(ppcDoublDouble)
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/75226
On Linux PPC call lib func ``frexpl`` for calls to ``frexp()`` for input of
type PPCDoubleDouble.
Fixes bug: https://github.com/llvm/llvm-project/issues/64426
>From b815b9b0a369f308cf24406fa9606cb6e3b1c7e3 Mon S
Author: Ahsan Saghir
Date: 2023-08-11T08:57:12-05:00
New Revision: e6f18b75d7ffeb6d5a5cb740a61f38f8f122fee1
URL:
https://github.com/llvm/llvm-project/commit/e6f18b75d7ffeb6d5a5cb740a61f38f8f122fee1
DIFF:
https://github.com/llvm/llvm-project/commit/e6f18b75d7ffeb6d5a5cb740a61f38f8f122fee1.diff
Author: Lei Huang
Date: 2022-08-16T13:56:33-05:00
New Revision: 7d8ae9f755d7ae65ab116220d6d42108ee10f815
URL:
https://github.com/llvm/llvm-project/commit/7d8ae9f755d7ae65ab116220d6d42108ee10f815
DIFF:
https://github.com/llvm/llvm-project/commit/7d8ae9f755d7ae65ab116220d6d42108ee10f815.diff
LOG
Author: Lei Huang
Date: 2022-06-29T09:35:52-05:00
New Revision: caf7243a6b53aa16f9fbdfbaa18096defb2eb374
URL:
https://github.com/llvm/llvm-project/commit/caf7243a6b53aa16f9fbdfbaa18096defb2eb374
DIFF:
https://github.com/llvm/llvm-project/commit/caf7243a6b53aa16f9fbdfbaa18096defb2eb374.diff
LOG
Author: Maryam Moghadas
Date: 2022-06-16T20:28:34-05:00
New Revision: 711a71d1ab1056b9ae1364eeec5eff2443629bf7
URL:
https://github.com/llvm/llvm-project/commit/711a71d1ab1056b9ae1364eeec5eff2443629bf7
DIFF:
https://github.com/llvm/llvm-project/commit/711a71d1ab1056b9ae1364eeec5eff2443629bf7.dif
1 - 100 of 121 matches
Mail list logo