[llvm] e6b6190 - [X86] Remove NeedsRetpoline in X86AsmPrinter (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 27 09:22:45 PDT 2021


Author: Kazu Hirata
Date: 2021-10-27T09:22:29-07:00
New Revision: e6b6190ead3224b432cc24e526faa784e8773df0

URL: https://github.com/llvm/llvm-project/commit/e6b6190ead3224b432cc24e526faa784e8773df0
DIFF: https://github.com/llvm/llvm-project/commit/e6b6190ead3224b432cc24e526faa784e8773df0.diff

LOG: [X86] Remove NeedsRetpoline in X86AsmPrinter (NFC)

This field seems to be unused for at least one year.

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86AsmPrinter.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86AsmPrinter.h b/llvm/lib/Target/X86/X86AsmPrinter.h
index 694278dbca02..3b0983a7d935 100644
--- a/llvm/lib/Target/X86/X86AsmPrinter.h
+++ b/llvm/lib/Target/X86/X86AsmPrinter.h
@@ -31,7 +31,6 @@ class LLVM_LIBRARY_VISIBILITY X86AsmPrinter : public AsmPrinter {
   FaultMaps FM;
   std::unique_ptr<MCCodeEmitter> CodeEmitter;
   bool EmitFPOData = false;
-  bool NeedsRetpoline = false;
 
   // This utility class tracks the length of a stackmap instruction's 'shadow'.
   // It is used by the X86AsmPrinter to ensure that the stackmap shadow


        


More information about the llvm-commits mailing list