Arghnews wrote:
Updated with suggested changes from #156019
https://github.com/llvm/llvm-project/pull/155542
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Arghnews wrote:
Refactored to use your @RKSimon WIP change in #156017 , much neater way of
doing it, cheers
https://github.com/llvm/llvm-project/pull/155542
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
Arghnews wrote:
> @Arghnews Feel free to copy the relevant
> interp__builtin_elementwise_int_binop "Vector + Scalar" code from this and
> use it #155542 - I'm not sure if I'll get the rotate changes finished today
I'd just pushed a similar (but less neat) version of this, have just tried
past
https://github.com/Arghnews edited
https://github.com/llvm/llvm-project/pull/155542
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Arghnews wrote:
Have addressed feedback @RKSimon
Will wait on https://github.com/llvm/llvm-project/pull/155891 then I can
refactor this based on what goes in (and squash)
Let me know if I should do otherwise or anything else needs doing on this,
thanks
https://github.com/llvm/llvm-project/pu
Arghnews wrote:
Have made updates, neatened/refactored, now passes all tests with normal and
experimental interpreter, have formatted etc.
@tbaederr @RKSimon please review, thanks!
https://github.com/llvm/llvm-project/pull/155542
___
cfe-commits mail
Arghnews wrote:
> We're putting these tests in the appropriate
> llvm-project\clang\test\CodeGen\X86*-builtins.c files - search for
> TEST_CONSTEXPR
I have been splitting these out as specified, however I've run into an issue.
Test files using `-fexperimental-new-constant-interpreter` like
`
https://github.com/Arghnews edited
https://github.com/llvm/llvm-project/pull/155542
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -11644,64 +11679,181 @@ bool VectorExprEvaluator::VisitCallExpr(const
CallExpr *E) {
for (unsigned EltNum = 0; EltNum < SourceLen; ++EltNum) {
APSInt LHS = SourceLHS.getVectorElt(EltNum).getInt();
- APSInt RHS = SourceRHS.getVectorElt(EltNum).getInt();
-
https://github.com/Arghnews updated
https://github.com/llvm/llvm-project/pull/155542
>From 759f06ff21d819986603ca50b2ba213ce68d3368 Mon Sep 17 00:00:00 2001
From: Justin Riddell
Date: Wed, 27 Aug 2025 04:04:37 +0100
Subject: [PATCH] [Headers][X86] VisitCallExpr constexpr immediate shifts
(#154
https://github.com/Arghnews updated
https://github.com/llvm/llvm-project/pull/155542
>From 409524a751457ca230fd70daeca107b339e3bb82 Mon Sep 17 00:00:00 2001
From: Justin Riddell
Date: Wed, 27 Aug 2025 03:58:29 +0100
Subject: [PATCH] [Headers][X86] VisitCallExpr constexpr immediate shifts
(#154
https://github.com/Arghnews created
https://github.com/llvm/llvm-project/pull/155542
Implement VectorExprEvaluator::VisitCallExpr constexpr support for left, right,
arithmetic shift for MMX/SSE/AVX2/AVX512 intrinsics
### **NOTE**: currently incomplete, asking a question with what I've got so f
Arghnews wrote:
> LGTM! Do you need someone to land this on your behalf?
@AaronBallman I do need someone to commit this, I don't have write access yes,
thank you
https://github.com/llvm/llvm-project/pull/154861
___
cfe-commits mailing list
cfe-commi
Arghnews wrote:
@andykaylor thank you for the suggestion, have rebased and rerun with latest
and it works fine now
Have updated the tests - I wasn't sure how closely the test should watch the
cir output (whether too close a match is an issue, or not), so please check. I
force pushed anyway so
@@ -0,0 +1,25 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o
- | FileCheck %s
Arghnews wrote:
Thanks for the suggestion, rebased and it works now
https://github.com/llvm/llvm-project/pull/154060
___
https://github.com/Arghnews updated
https://github.com/llvm/llvm-project/pull/154060
>From c3ef9b7dbad67be0fa24b228dd445a4b8a28d280 Mon Sep 17 00:00:00 2001
From: Justin Riddell
Date: Thu, 21 Aug 2025 02:59:44 +0100
Subject: [PATCH] [CIR] Handle FunctionToPointerDecay casts (#153657)
Add upstr
https://github.com/Arghnews edited
https://github.com/llvm/llvm-project/pull/154060
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Arghnews edited
https://github.com/llvm/llvm-project/pull/154060
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,25 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o
- | FileCheck %s
Arghnews wrote:
If I change the test file to:
```c
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o
%t.cir
// RUN:
https://github.com/Arghnews edited
https://github.com/llvm/llvm-project/pull/154060
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Arghnews created
https://github.com/llvm/llvm-project/pull/154060
Add upstream support for handling implicit FunctionToPointerDecay casts in
ClangIR, for task #153657, migrate code from clangir repo
Passes `check-clang` test target, have run `git-clang-format` from repo as
21 matches
Mail list logo