[llvm] [aarch64][win] Add support for import call optimization (equivalent to MSVC /d2ImportCallOptimization) (PR #121516)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 18:27:56 PST 2025
================
@@ -354,6 +354,11 @@ class LLVM_ABI MachineFunction {
/// a table of valid targets for Windows EHCont Guard.
std::vector<MCSymbol *> CatchretTargets;
+ /// Mapping of call instruction to the global value and target flags that it
+ /// calls, if applicable.
+ DenseMap<const MachineInstr *, std::pair<const GlobalValue *, unsigned>>
+ CalledGlobalsMap;
----------------
arsenm wrote:
test/CodeGen/MIR is for print/parse tests
https://github.com/llvm/llvm-project/pull/121516
More information about the llvm-commits
mailing list