diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-09-09 01:26:59 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-09-09 01:26:59 +0000 |
commit | 59fbc80f6b3b5c71dfb84149f589625f7ed510e3 (patch) | |
tree | 85f138a258fb0ec5c19871a2e084fe16aa25efbb /include/llvm | |
parent | b2dfb89e0e7f1ee3e4fe4a3a1b3af148f0aec34f (diff) | |
download | llvm-59fbc80f6b3b5c71dfb84149f589625f7ed510e3.tar.gz llvm-59fbc80f6b3b5c71dfb84149f589625f7ed510e3.tar.bz2 llvm-59fbc80f6b3b5c71dfb84149f589625f7ed510e3.tar.xz |
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
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/FastISel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h index 6ac401d240..7b5fbf97d3 100644 --- a/include/llvm/CodeGen/FastISel.h +++ b/include/llvm/CodeGen/FastISel.h @@ -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: |