[llvm] [aarch64][win] Add support for import call optimization (equivalent to MSVC /d2ImportCallOptimization) (PR #121516)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 15:25:52 PST 2025
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 cbff02b101c20ad6557d64c998d03dab5ee4aad7 2e2c02cb1447664a60b4879f2b3936c8e4636ea0 --extensions h,cpp -- llvm/include/llvm/CodeGen/MIRYamlMapping.h llvm/include/llvm/CodeGen/MachineFunction.h llvm/include/llvm/CodeGen/SelectionDAG.h llvm/include/llvm/MC/MCObjectFileInfo.h llvm/include/llvm/MC/MCStreamer.h llvm/include/llvm/MC/MCWinCOFFObjectWriter.h llvm/include/llvm/MC/MCWinCOFFStreamer.h llvm/lib/CodeGen/MIRParser/MIRParser.cpp llvm/lib/CodeGen/MIRPrinter.cpp llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp llvm/lib/MC/MCAsmStreamer.cpp llvm/lib/MC/MCObjectFileInfo.cpp llvm/lib/MC/MCParser/COFFAsmParser.cpp llvm/lib/MC/MCStreamer.cpp llvm/lib/MC/MCWinCOFFStreamer.cpp llvm/lib/MC/WinCOFFObjectWriter.cpp llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/MIRYamlMapping.h b/llvm/include/llvm/CodeGen/MIRYamlMapping.h
index feebaf4296..dbad3469d0 100644
--- a/llvm/include/llvm/CodeGen/MIRYamlMapping.h
+++ b/llvm/include/llvm/CodeGen/MIRYamlMapping.h
@@ -846,7 +846,7 @@ template <> struct MappingTraits<MachineFunction> {
std::vector<StringValue>());
if (!YamlIO.outputting() || !MF.CalledGlobals.empty())
YamlIO.mapOptional("calledGlobals", MF.CalledGlobals,
- std::vector<CalledGlobal>());
+ std::vector<CalledGlobal>());
YamlIO.mapOptional("body", MF.Body, BlockStringValue());
}
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/121516
More information about the llvm-commits
mailing list