Reapply the TargerTransformInfo changes, minus the changes to LSR and Lowerinvoke.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem
2012-10-18 23:22:48 +00:00
parent ebd3f27c7e
commit cbd9a19b5d
38 changed files with 720 additions and 225 deletions
+4 -2
View File
@@ -48,7 +48,8 @@ X86_32TargetMachine::X86_32TargetMachine(const Target &T, StringRef TT,
InstrInfo(*this),
TSInfo(*this),
TLInfo(*this),
JITInfo(*this) {
JITInfo(*this),
STTI(&TLInfo) {
}
void X86_64TargetMachine::anchor() { }
@@ -64,7 +65,8 @@ X86_64TargetMachine::X86_64TargetMachine(const Target &T, StringRef TT,
InstrInfo(*this),
TSInfo(*this),
TLInfo(*this),
JITInfo(*this) {
JITInfo(*this),
STTI(&TLInfo) {
}
/// X86TargetMachine ctor - Create an X86 target.