Fix a constant lowering bug. Now we can do load and store instructions with funky getelementptr embedded in the address operand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2008-09-09 01:26:59 +00:00
parent b2dfb89e0e
commit 59fbc80f6b
4 changed files with 75 additions and 31 deletions

View File

@@ -80,6 +80,11 @@ public:
/// be assigned the value for the given LLVM value.
unsigned getRegForValue(Value *V);
/// lookUpRegForValue - Look up the value to see if its value is already
/// cached in a register. It may be defined by instructions across blocks or
/// defined locally.
unsigned lookUpRegForValue(Value *V);
virtual ~FastISel();
protected: