diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-10-13 02:35:06 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-10-13 02:35:06 +0000 |
commit | 106e8020bd1e36cffb749aa8358018b48839e336 (patch) | |
tree | 27568fa344c3ca816e09a089f42c4e63218830b8 /lib/Target/X86/X86RegisterInfo.h | |
parent | fa9457276a2174aaf302240dd32d89900ad021ae (diff) | |
download | llvm-106e8020bd1e36cffb749aa8358018b48839e336.tar.gz llvm-106e8020bd1e36cffb749aa8358018b48839e336.tar.bz2 llvm-106e8020bd1e36cffb749aa8358018b48839e336.tar.xz |
Change unfoldMemoryOperand(). User is now responsible for passing in the
register used by the unfolded instructions. User can also specify whether to
unfold the load, the store, or both.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86RegisterInfo.h')
-rw-r--r-- | lib/Target/X86/X86RegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.h b/lib/Target/X86/X86RegisterInfo.h index fc739bb095..6a2c19e6b6 100644 --- a/lib/Target/X86/X86RegisterInfo.h +++ b/lib/Target/X86/X86RegisterInfo.h @@ -136,7 +136,7 @@ public: /// a store or a load and a store into two or more instruction. If this is /// possible, returns true as well as the new instructions by reference. bool unfoldMemoryOperand(MachineFunction &MF, MachineInstr *MI, - SSARegMap *RegMap, + unsigned Reg, bool UnfoldLoad, bool UnfoldStore, SmallVector<MachineInstr*, 4> &NewMIs) const; bool unfoldMemoryOperand(SelectionDAG &DAG, SDNode *N, |