https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/133852
>From 2bad7af8f9fef1d7497183d0cb30df05eee00978 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 1 Apr 2025 06:07:19 +0200
Subject: [PATCH] [clang][bytecode] Fix comparing the addresses of
uecker wrote:
>
> Once that is settled, then go back to work on redeclaration/definition
> support. Possibly it'd be good to pause and ask the standards body to clarify
> how it's supposed to work first. While I think my proposed semantics above
> make sense, the standard doesn't actually _sp
@@ -0,0 +1,29 @@
+//===- SemaDirectX.h - Semantic Analysis for DirectX
+// constructs===//
farzonl wrote:
good catch. no this should be one line
https://github.com/llvm/llvm-project/pull/134439
___
cfe-
@@ -35,6 +35,12 @@ length_vec_impl(vector X) {
#endif
}
+template
+constexpr vector dst_impl(vector src0, vector src1) {
+ vector dest = {1, src0[1] * src1[1], src0[2], src1[3]};
+ return dest;
+}
metkarpoonam wrote:
Thanks for the feedback! I've made the
@@ -0,0 +1,23 @@
+//===- SemaDirectX.cpp - Semantic Analysis for DirectX
constructs--===//
+//
+// 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
@@ -316,6 +316,106 @@ void CIRGenFunction::emitIgnoredExpr(const Expr *e) {
emitLValue(e);
}
+/// Emit an `if` on a boolean condition, filling `then` and `else` into
+/// appropriated regions.
+mlir::LogicalResult CIRGenFunction::emitIfOnBoolExpr(const Expr *cond,
+
https://github.com/hekota edited
https://github.com/llvm/llvm-project/pull/134439
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,29 @@
+//===- SemaDirectX.h - Semantic Analysis for DirectX
+// constructs===//
hekota wrote:
Is this supposed to be on 2 lines?
https://github.com/llvm/llvm-project/pull/134439
___
cfe-commi
https://github.com/hekota approved this pull request.
LGTM! Just a few comments.
https://github.com/llvm/llvm-project/pull/134439
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,23 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
hekota wrote:
The filename should probably be dot2add.hlsl.
https://github.com/llvm/llvm-project/pull/134439
__
@@ -0,0 +1,23 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
farzonl wrote:
No this is a c only test. Since we are exposing the backend api as a target any
frontend is technically suppose to be able to ac
@@ -0,0 +1,23 @@
+//===- SemaDirectX.cpp - Semantic Analysis for DirectX
constructs--===//
+//
+// 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/andykaylor updated
https://github.com/llvm/llvm-project/pull/134181
>From 54454e4d52570f29c493c41fc9bf95cbaf9e0886 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Fri, 21 Mar 2025 09:46:27 -0700
Subject: [PATCH 1/4] [CIR] Upstream support for break and continue statements
T
Author: Jorge Gorbe Moya
Date: 2025-04-04T14:39:57-07:00
New Revision: 412f7fa31607489dc400321968a70e114463b374
URL:
https://github.com/llvm/llvm-project/commit/412f7fa31607489dc400321968a70e114463b374
DIFF:
https://github.com/llvm/llvm-project/commit/412f7fa31607489dc400321968a70e114463b374.di
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/134439
___
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-codegen
Author: Kaitlin Peng (kmpeng)
Changes
Closes #99156.
Tasks completed:
- Implement `smoothstep` using HLSL source in `hlsl_intrinsics.h`
- Implement the `smoothstep` SPIR-V target built-in in
`clang/include/clang/Basic/BuiltinsSPIRV.td`
-
https://github.com/pawosm-arm created
https://github.com/llvm/llvm-project/pull/133578
Although combining -fveclib=ArmPL with -nostdlib is a rare situation, it should
still be supported correctly and should effect in avoidance of linking against
libm.
>From c033be3cf15b3320b24d52f2414acf88ba
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= ,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= ,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= ,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=
Message-ID:
In-Reply-To:
https://github.com/shiltian approved this pull request.
https://github.com/llv
@@ -0,0 +1,1079 @@
+//===-- RISCVInstrInfoP.td - RISC-V 'P' instructions ---*- tablegen
-*-===//
+//
+// 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: A
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64-flang-aix` running
on `ppc64-flang-aix-test` while building `clang` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/201/builds/3938
Here is the relevant piece of
rnk wrote:
We have internal reports of incorrect mangling substitutions after updating to
537b6541e8067d7ef7aa38791989fca6303b7fd from
799e9053641a6478d3144866a97737b37b87c260, and this change seems like the likely
culprit because it's touching the Itanium mangling code. We'll see if that can
@@ -462,6 +462,58 @@ def ReturnOp : CIR_Op<"return", [ParentOneOf<["FuncOp",
"ScopeOp", "DoWhileOp",
let hasVerifier = 1;
}
+//===--===//
+// IfOp
+//===-
flovent wrote:
@steakhal Thank you for review! I forgot to mention that the testcases added is
copied from their non-range verison since they have same effect to iterator
which mentioned in PR description, the only change is the method's name and a
parameter named `vec` in test function to sim
@@ -49,6 +51,135 @@ LLVM_INSTANTIATE_REGISTRY(FrontendPluginRegistry)
namespace {
+/// Dumps deserialized declarations.
ilya-biryukov wrote:
I still see the old version. Did the push succeed?
https://github.com/llvm/llvm-project/pull/133910
ayokunle321 wrote:
@erichkeane CI is happy now! For future patches, I was wondering if to separate
them like this so reviews could be easier or I should just do it all in one PR.
https://github.com/llvm/llvm-project/pull/130868
___
cfe-commits mailing
https://github.com/spall edited https://github.com/llvm/llvm-project/pull/131666
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -126,4 +126,10 @@ void testCustomOperator(CustomOperatorEnum e) {
if (!(e & E1)) {}
}
+enum EmptyEnum {};
+
+bool testCustomOperator(EmptyEnum value) {
PiotrZSL wrote:
Because this is enum without enumerators = can hold any value = usually used to
wor
@@ -193,8 +334,23 @@ LValue CIRGenFunction::emitUnaryOpLValue(const
UnaryOperator *e) {
switch (op) {
case UO_Deref: {
-cgm.errorNYI(e->getSourceRange(), "UnaryOp dereference");
-return LValue();
+QualType t = e->getSubExpr()->getType()->getPointeeType();
+
https://github.com/bcardosolopes approved this pull request.
LGTM pending discussion with Eli
https://github.com/llvm/llvm-project/pull/134317
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
https://github.com/joaosaffran edited
https://github.com/llvm/llvm-project/pull/133800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/133742
C23 allows a cast of a null pointer constant to nullptr_t. e.g., (nullptr_t)0
or (nullptr_t)(void *)0.
Fixes #133644
>From 5ad66ec7a9ea76a080ee34ddf0d68a19dbb9dec6 Mon Sep 17 00:00:00 2001
From: Aaron Bal
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Andy Kaylor (andykaylor)
Changes
When unary operation support was initially upstreamed, the cir.cast operation
hadn't been upstreamed yet, so logical not wasn't included. Since casts have
now been added, this change adds support for logic
https://github.com/mati865 created
https://github.com/llvm/llvm-project/pull/134458
This is part of the fixes from
https://github.com/mati865/llvm-project/commits/cygwin-more-fixes/ that I
consider good enough to upstream.
The other branch with hacky changes even goes as far as making Clang
Mateusz =?utf-8?q?Mikuła?= ,
Mateusz =?utf-8?q?Mikuła?= ,
Mateusz =?utf-8?q?Mikuła?= ,
Mateusz =?utf-8?q?Mikuła?=
Message-ID:
In-Reply-To:
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the foll
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Andy Kaylor (andykaylor)
Changes
When unary operation support was initially upstreamed, the cir.cast operation
hadn't been upstreamed yet, so logical not wasn't included. Since casts have
now been added, this change adds support for log
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/133966
>From 4c71a107d174b24b4515554c4be57a2a318f5fb9 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Tue, 1 Apr 2025 11:47:49 -0700
Subject: [PATCH] [CIR] Upstream support for logical not operations
When unary op
https://github.com/metkarpoonam edited
https://github.com/llvm/llvm-project/pull/133828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/metkarpoonam edited
https://github.com/llvm/llvm-project/pull/133828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Mateusz =?utf-8?q?Mikuła?= ,
Mateusz =?utf-8?q?Mikuła?= ,
Mateusz =?utf-8?q?Mikuła?= ,
Mateusz =?utf-8?q?Mikuła?=
Message-ID:
In-Reply-To:
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Mateusz Mikuła (mati865)
Changes
This is part of the fixes from
https://github.com/mati86
https://github.com/AustinSchuh created
https://github.com/llvm/llvm-project/pull/134459
https://github.com/llvm/llvm-project/pull/132883 added support for cuda
surfaces but reached into clang/test/Headers/ from clang/test/CodeGen/ to grab
the minimal cuda.h. Duplicate that file instead based
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Austin Schuh (AustinSchuh)
Changes
https://github.com/llvm/llvm-project/pull/132883 added support for cuda
surfaces but reached into clang/test/Headers/ from clang/test/CodeGen/ to grab
the minimal cuda.h. Duplicate that file instead bas
@@ -0,0 +1,3329 @@
+// RUN: %clang_cc1 -triple nvptx-unknown-unknown -fcuda-is-device -O3 -o - %s
-emit-llvm | FileCheck %s
+// RUN: %clang_cc1 -triple nvptx64-unknown-unknown -fcuda-is-device -O3 -o -
%s -emit-llvm | FileCheck %s
+#include "../Headers/Inputs/include/cuda.h"
---
AustinSchuh wrote:
@slackito and @Artem-B , hopefully this addresses your feedback!
https://github.com/llvm/llvm-project/pull/134459
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Mateusz =?utf-8?q?Mikuła?= ,
Mateusz =?utf-8?q?Mikuła?= ,
Mateusz =?utf-8?q?Mikuła?= ,
Mateusz =?utf-8?q?Mikuła?=
Message-ID:
In-Reply-To:
llvmbot wrote:
@llvm/pr-subscribers-llvm-support
@llvm/pr-subscribers-clang
Author: Mateusz Mikuła (mati865)
Changes
This is part of the fixes from
https://github.com/mati865 updated
https://github.com/llvm/llvm-project/pull/134458
From adbcc7f650edfb4f2f86d1146b8116794a9de6df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mateusz=20Miku=C5=82a?=
Date: Sat, 8 Feb 2025 01:13:06 +0100
Subject: [PATCH 1/5] [Clang][Cygwin] Enable few conditions that
https://github.com/Artem-B approved this pull request.
https://github.com/llvm/llvm-project/pull/134459
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/slackito approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/134459
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
801 - 847 of 847 matches
Mail list logo