diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2013-01-07 15:14:13 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2013-01-07 15:14:13 +0000 |
| commit | 95f83e01557c31b61c807714004cef1ffba087ba (patch) | |
| tree | aaa0e347fd4a06900a79c16c1b64476059442ba9 /llvm/lib/CodeGen/BasicTargetTransformInfo.cpp | |
| parent | 6e479322aab6e1e882d40a3b4cb4a64046b6fc0b (diff) | |
| download | bcm5719-llvm-95f83e01557c31b61c807714004cef1ffba087ba.tar.gz bcm5719-llvm-95f83e01557c31b61c807714004cef1ffba087ba.zip | |
Sink AddrMode back into TargetLowering, removing one of the most
peculiar headers under include/llvm.
This struct still doesn't make a lot of sense, but it makes more sense
down in TargetLowering than it did before.
llvm-svn: 171739
Diffstat (limited to 'llvm/lib/CodeGen/BasicTargetTransformInfo.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/BasicTargetTransformInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp b/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp index 29f52606c2f..c27e081a5e6 100644 --- a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp +++ b/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp @@ -126,7 +126,7 @@ bool BasicTTI::isLegalICmpImmediate(int64_t imm) const { bool BasicTTI::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, int64_t Scale) const { - AddrMode AM; + TargetLowering::AddrMode AM; AM.BaseGV = BaseGV; AM.BaseOffs = BaseOffset; AM.HasBaseReg = HasBaseReg; |

