[llvm] [win][x64] Fix import call optimization for calls to dllimports and global function pointers (PR #160604)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 14:47:39 PDT 2025


================
@@ -235,7 +235,8 @@ let RecomputePerFunction = 1 in {
   def NoSSE41_Or_OptForSize : Predicate<"shouldOptForSize(MF) || "
                                         "!Subtarget->hasSSE41()">;
   def ImportCallOptimizationEnabled : Predicate<"MF->getFunction().getParent()->getModuleFlag(\"import-call-optimization\")">;
----------------
efriedma-quic wrote:

Should this be ImportCallOptimizationEnabledAndCFGuardDisabled?

https://github.com/llvm/llvm-project/pull/160604


More information about the llvm-commits mailing list