From d758416a9152a9c7e41671493ae4f77a0dfc1993 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 3 Apr 2020 16:54:38 -0700 Subject: Revert "[X86] Add a Pass that builds a Condensed CFG for Load Value Injection (LVI) Gadgets" This reverts commit c74dd640fd740c6928f66a39c7c15a014af3f66f. Reverting to address coding standard issues raised in post-commit review. --- llvm/lib/Target/X86/X86Subtarget.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/Target/X86/X86Subtarget.h') diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index af5153243c8..eb5c293e5cb 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -427,10 +427,6 @@ protected: /// POP+LFENCE+JMP sequence. bool UseLVIControlFlowIntegrity = false; - /// Insert LFENCE instructions to prevent data speculatively injected into - /// loads from being used maliciously. - bool UseLVILoadHardening = false; - /// Use software floating point for code generation. bool UseSoftFloat = false; @@ -731,7 +727,6 @@ public: bool preferMaskRegisters() const { return PreferMaskRegisters; } bool useGLMDivSqrtCosts() const { return UseGLMDivSqrtCosts; } bool useLVIControlFlowIntegrity() const { return UseLVIControlFlowIntegrity; } - bool useLVILoadHardening() const { return UseLVILoadHardening; } unsigned getPreferVectorWidth() const { return PreferVectorWidth; } unsigned getRequiredVectorWidth() const { return RequiredVectorWidth; } -- cgit v1.2.3