summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86Subtarget.h
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-05-16 19:55:03 +0000
committerReid Kleckner <rnk@google.com>2017-05-16 19:55:03 +0000
commit0ad69fc89ff762f71fb06834d9a99d2b9e09d4b8 (patch)
treef2546ca3754576b6cef2d3e93a8b0fb9256c2c73 /llvm/lib/Target/X86/X86Subtarget.h
parentda8f2212731a3a12407a86a462ad84d5fcf86985 (diff)
downloadbcm5719-llvm-0ad69fc89ff762f71fb06834d9a99d2b9e09d4b8.tar.gz
bcm5719-llvm-0ad69fc89ff762f71fb06834d9a99d2b9e09d4b8.zip
Revert "[X86] Replace slow LEA instructions in X86"
This reverts commit r303183, it broke various buildbots and introduced sanitizer errors. llvm-svn: 303199
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.h')
-rw-r--r--llvm/lib/Target/X86/X86Subtarget.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h
index 02be95e2e55..de1514243ae 100644
--- a/llvm/lib/Target/X86/X86Subtarget.h
+++ b/llvm/lib/Target/X86/X86Subtarget.h
@@ -253,11 +253,6 @@ protected:
/// True if the LEA instruction with certain arguments is slow
bool SlowLEA;
- /// True if the LEA instruction has all three source operands: base, index,
- /// and offset or if the LEA instruction uses base and index registers where
- /// the base is EBP, RBP,or R13
- bool Slow3OpsLEA;
-
/// True if INC and DEC instructions are slow when writing to flags
bool SlowIncDec;
@@ -495,7 +490,6 @@ public:
bool callRegIndirect() const { return CallRegIndirect; }
bool LEAusesAG() const { return LEAUsesAG; }
bool slowLEA() const { return SlowLEA; }
- bool slow3OpsLEA() const { return Slow3OpsLEA; }
bool slowIncDec() const { return SlowIncDec; }
bool hasCDI() const { return HasCDI; }
bool hasPFI() const { return HasPFI; }
OpenPOWER on IntegriCloud