[PATCH] D119391: [X86] Only force FP usage in the presence of pushf/popf on Win64
    Nick Desaulniers via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Feb  9 16:48:41 PST 2022
    
    
  
nickdesaulniers added inline comments.
================
Comment at: llvm/lib/Target/X86/X86FrameLowering.cpp:103
           MFI.hasStackMap() || MFI.hasPatchPoint() ||
-          MFI.hasCopyImplyingStackAdjustment());
+          (MF.getTarget().getMCAsmInfo()->usesWindowsCFI() &&
+           MFI.hasCopyImplyingStackAdjustment()));
----------------
isWin64Prologue(MF) &&
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119391/new/
https://reviews.llvm.org/D119391
    
    
More information about the llvm-commits
mailing list