summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2017-12-01 22:20:26 +0000
committerMatt Morehouse <mascasa@google.com>2017-12-01 22:20:26 +0000
commit79f1f0032c4d34fa0108b1ad0653b66f1970a322 (patch)
treeeec040ed374edcbfa049f4542dbd51288b2defe3 /include
parent1fe1bd128c218a113d2f16f3260122cadd949b91 (diff)
Revert "[X86] Improvement in CodeGen instruction selection for LEAs."
This reverts r319543, due to ASan bot breakage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h3
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h3
2 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index c741ce622cd..6c899ca7ee0 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -1320,13 +1320,12 @@ public:
/// Add all implicit def and use operands to this instruction.
void addImplicitDefUseOperands(MachineFunction &MF);
+private:
/// If this instruction is embedded into a MachineFunction, return the
/// MachineRegisterInfo object for the current function, otherwise
/// return null.
MachineRegisterInfo *getRegInfo();
-private:
-
/// Unlink all of the register operands in this instruction from their
/// respective use lists. This requires that the operands already be on their
/// use lists.
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index 090d0e08a78..82f507e64b9 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -300,9 +300,6 @@ public:
/// type legalization.
bool NewNodesMustHaveLegalTypes = false;
- /// Set to true for DAG of BasicBlock contained inside a loop.
- bool IsDAGPartOfLoop = false;
-
private:
/// DAGUpdateListener is a friend so it can manipulate the listener stack.
friend struct DAGUpdateListener;