[Mlir-commits] [clang] [llvm] [mlir] Revert "[IR] Explicitly specify target feature for module asm" (PR #207399)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Jul 3 07:21:25 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions h,c,cpp -- clang/lib/CodeGen/CGObjCMac.cpp clang/lib/CodeGen/CodeGenModule.cpp clang/test/CodeGen/2006-01-23-FileScopeAsm.c clang/test/CodeGen/asm.c clang/test/CodeGen/asm_incbin.c clang/test/CodeGen/cfi-salt.c clang/test/CodeGen/kcfi.c clang/test/CodeGenCXX/gnu-asm-constexpr.cpp clang/test/Frontend/ast-codegen.c llvm/include/llvm/Bitcode/LLVMBitCodes.h llvm/include/llvm/CodeGen/AsmPrinter.h llvm/include/llvm/IR/Module.h llvm/lib/AsmParser/LLParser.cpp llvm/lib/Bitcode/Reader/BitcodeReader.cpp llvm/lib/Bitcode/Writer/BitcodeWriter.cpp llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp llvm/lib/IR/AsmWriter.cpp llvm/lib/IR/Core.cpp llvm/lib/IR/Module.cpp llvm/lib/LTO/LTO.cpp llvm/lib/Linker/IRMover.cpp llvm/lib/Object/ModuleSymbolTable.cpp llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp llvm/lib/Transforms/IPO/ExtractGV.cpp llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp llvm/lib/Transforms/Utils/SplitModule.cpp llvm/tools/llvm-reduce/deltas/ReduceModuleData.cpp mlir/lib/Target/LLVMIR/ModuleImport.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Linker/IRMover.cpp b/llvm/lib/Linker/IRMover.cpp
index 239201bde..cb3782ecd 100644
--- a/llvm/lib/Linker/IRMover.cpp
+++ b/llvm/lib/Linker/IRMover.cpp
@@ -1562,8 +1562,8 @@ Error IRLinker::run() {
if (!IsPerformingImport && !SrcM->getModuleInlineAsm().empty()) {
// Append the module inline asm string.
- DstM.appendModuleInlineAsm(adjustInlineAsm(SrcM->getModuleInlineAsm(),
- SrcTriple));
+ DstM.appendModuleInlineAsm(
+ adjustInlineAsm(SrcM->getModuleInlineAsm(), SrcTriple));
} else if (IsPerformingImport) {
// Import any symver directives for symbols in DstM.
ModuleSymbolTable::CollectAsmSymvers(*SrcM,
``````````
</details>
https://github.com/llvm/llvm-project/pull/207399
More information about the Mlir-commits
mailing list