@@ -0,0 +1,69 @@
+//===--- UnintendedCharOstreamOutputCheck.cpp - clang-tidy
===//
+//
+// 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
Author: Bruno De Fraine
Date: 2025-02-20T16:06:56+04:00
New Revision: 458b1e9d2c61945f62b5bdfda93914d6a46b6cc7
URL:
https://github.com/llvm/llvm-project/commit/458b1e9d2c61945f62b5bdfda93914d6a46b6cc7
DIFF:
https://github.com/llvm/llvm-project/commit/458b1e9d2c61945f62b5bdfda93914d6a46b6cc7.dif
serge-sans-paille wrote:
> I like the idea here. I wonder if this could be generalized somehow in
> `add_llvm_library` so that it could be applied to arbitrary libraries. I had
> wanted to try to generalize this for executable in `add_llvm_executable`.
>
> I'm fine taking this patch as-is with
@@ -176,15 +198,15 @@ if (CLANG_BOLT AND NOT LLVM_BUILD_INSTRUMENTED)
TARGET clang POST_BUILD
COMMAND "${Python3_EXECUTABLE}"
${CMAKE_CURRENT_SOURCE_DIR}/../../utils/perf-training/perf-helper.py
bolt-optimize
---method ${CLANG_BOLT}
-
@@ -168,6 +168,28 @@ if (CLANG_BOLT AND NOT LLVM_BUILD_INSTRUMENTED)
)
set(LIT_COMMAND "${lit_base_dir}/${lit_file_name}")
+ set(CLANG_BOLT_INPUTS $)
+ set(CLANG_INSTRUMENTED_OUTPUTS ${CLANG_INSTRUMENTED})
+
+ # Add in dynamically linked libraries, if needs be. Currentl
@@ -574,47 +591,67 @@ def bolt_optimize(args):
opts = parser.parse_args(args)
-output = subprocess.check_output(
-[opts.readelf, "-WS", opts.input], universal_newlines=True
-)
+inputs = opts.input.split(";")
+instrumented_outputs = opts.instrumente
Author: David Truby
Date: 2025-02-20T13:59:29Z
New Revision: 41cece8c86399dd1ffcb6b7a8b50c10083fe5a40
URL:
https://github.com/llvm/llvm-project/commit/41cece8c86399dd1ffcb6b7a8b50c10083fe5a40
DIFF:
https://github.com/llvm/llvm-project/commit/41cece8c86399dd1ffcb6b7a8b50c10083fe5a40.diff
LOG: [
https://github.com/ostannard updated
https://github.com/llvm/llvm-project/pull/126774
>From 223eb6f3153bce087306f54c398034ff7a64c1d1 Mon Sep 17 00:00:00 2001
From: Oliver Stannard
Date: Tue, 11 Feb 2025 17:40:55 +
Subject: [PATCH 1/4] Add tests showing bugs
---
clang/test/CodeGen/aapcs-al
https://github.com/DavidTruby closed
https://github.com/llvm/llvm-project/pull/119718
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1056,8 +1056,20 @@ void Clang::AddPreprocessingOptions(Compilation &C,
const JobAction &JA,
DepFile = getDependencyFileName(Args, Inputs);
C.addFailureResultFile(DepFile, &JA);
}
- CmdArgs.push_back("-dependency-file");
- CmdArgs.push_back(D
@@ -2958,6 +2958,8 @@ defm clangir : BoolFOption<"clangir",
BothFlags<[], [ClangOption, CC1Option], "">>;
def emit_cir : Flag<["-"], "emit-cir">, Visibility<[ClangOption, CC1Option]>,
Group, HelpText<"Build ASTs and then lower to ClangIR">;
+def emit_cir_mlir : Flag<["-"],
401 - 411 of 411 matches
Mail list logo