llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64-aix` running
on `aix-ppc64` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/64/builds/3686
Here is the relevant piece
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux`
running on `systemz-1` while building `clang` at step 6 "test-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/88/builds/11794
Here is the relevant piece of the build log f
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-x64-windows-msvc`
running on `windows-gcebot2` while building `clang` at step 4 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/63/builds/6385
Here is the relevant piece of the build
https://github.com/andykaylor closed
https://github.com/llvm/llvm-project/pull/140290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/140290
>From e1e91e88d2857b3a245c09f5c2afbfe37bc66063 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Fri, 2 May 2025 16:58:13 -0700
Subject: [PATCH 1/2] [CIR] Upstream support for C++ member function calls
This c
@@ -76,11 +77,30 @@ static void appendParameterTypes(const CIRGenTypes &cgt,
cgt.getCGModule().errorNYI("appendParameterTypes: hasExtParameterInfos");
}
+/// Derives the 'this' type for CIRGen purposes, i.e. ignoring method CVR
+/// qualification. Either or both of `rd` and
@@ -109,6 +109,14 @@ struct CallArg {
class CallArgList : public llvm::SmallVector {
public:
void add(RValue rvalue, clang::QualType type) { emplace_back(rvalue, type); }
+
+ /// Add all the arguments from another CallArgList to this one. After doing
+ /// this, the old Cal
@@ -1148,6 +1146,35 @@ mlir::Value CIRGenFunction::emitAlloca(StringRef name,
mlir::Type ty,
return addr;
}
+// Note: this function also emit constructor calls to support a MSVC extensions
+// allowing explicit constructor function call.
+RValue CIRGenFunction::emitCXXMembe
@@ -1148,6 +1146,35 @@ mlir::Value CIRGenFunction::emitAlloca(StringRef name,
mlir::Type ty,
return addr;
}
+// Note: this function also emit constructor calls to support a MSVC extensions
+// allowing explicit constructor function call.
+RValue CIRGenFunction::emitCXXMembe
https://github.com/Lancern edited
https://github.com/llvm/llvm-project/pull/140290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lancern approved this pull request.
https://github.com/llvm/llvm-project/pull/140290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lancern approved this pull request.
https://github.com/llvm/llvm-project/pull/140290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bcardosolopes approved this pull request.
Some nits / comments, but this LGTM to me: skeleton for member function calls
added, errorNYI used for untested paths and some initial support for the more
simple cases.
https://github.com/llvm/llvm-project/pull/140290
__
@@ -109,6 +109,14 @@ struct CallArg {
class CallArgList : public llvm::SmallVector {
public:
void add(RValue rvalue, clang::QualType type) { emplace_back(rvalue, type); }
+
+ /// Add all the arguments from another CallArgList to this one. After doing
+ /// this, the old Cal
https://github.com/bcardosolopes edited
https://github.com/llvm/llvm-project/pull/140290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,45 @@
+//===- CirGenCXXABI.cpp - Interface to C++ ABIs
---===//
bcardosolopes wrote:
`CIRGenCXXABI.cpp` to match the name of the file? (Or I guess none because this
isn't required anymore?)
https://github.com/llvm/llvm-projec
@@ -0,0 +1,45 @@
+//===- CirGenCXXABI.cpp - Interface to C++ ABIs
---===//
+//
+// 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
@@ -76,11 +77,30 @@ static void appendParameterTypes(const CIRGenTypes &cgt,
cgt.getCGModule().errorNYI("appendParameterTypes: hasExtParameterInfos");
}
+/// Derives the 'this' type for CIRGen purposes, i.e. ignoring method CVR
+/// qualification. Either or both of `rd` and
@@ -0,0 +1,45 @@
+//===- CirGenCXXABI.cpp - Interface to C++ ABIs
---===//
+//
+// 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
@@ -0,0 +1,45 @@
+//===- CirGenCXXABI.cpp - Interface to C++ ABIs
---===//
+//
+// 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
@@ -0,0 +1,45 @@
+//===- CirGenCXXABI.cpp - Interface to C++ ABIs
---===//
+//
+// 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
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Andy Kaylor (andykaylor)
Changes
This change adds the support needed to handle a C++ member function call,
including arranging the function type with an argument added for the 'this'
parameter. It was necessary to introduce the class to h
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Andy Kaylor (andykaylor)
Changes
This change adds the support needed to handle a C++ member function call,
including arranging the function type with an argument added for the 'this'
parameter. It was necessary to introduce the class to
https://github.com/andykaylor created
https://github.com/llvm/llvm-project/pull/140290
This change adds the support needed to handle a C++ member function call,
including arranging the function type with an argument added for the 'this'
parameter. It was necessary to introduce the class to han
24 matches
Mail list logo