aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-06 23:26:48 +0000
committerEric Christopher <echristo@gmail.com>2014-06-06 23:26:48 +0000
commit28783da0443a33cd624713ecb1be78ac54a63e7b (patch)
tree1dc2365c38c38f319b3345227f3e1de0eb7af1b1 /llvm/lib/Target/X86/X86TargetMachine.cpp
parente5add682cefcb1ffd55838886626bbb13646173a (diff)
downloadllvm-28783da0443a33cd624713ecb1be78ac54a63e7b.zip
llvm-28783da0443a33cd624713ecb1be78ac54a63e7b.tar.gz
llvm-28783da0443a33cd624713ecb1be78ac54a63e7b.tar.bz2
Replace the use of TargetMachine with a tiny bool variable.
llvm-svn: 210386
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/X86/X86TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp
index 83b30418..59b8cba 100644
--- a/llvm/lib/Target/X86/X86TargetMachine.cpp
+++ b/llvm/lib/Target/X86/X86TargetMachine.cpp
@@ -80,7 +80,7 @@ X86TargetMachine::X86TargetMachine(const Target &T, StringRef TT, StringRef CPU,
Subtarget.getStackAlignment(),
Subtarget.is64Bit() ? -8 : -4),
DL(computeDataLayout(*getSubtargetImpl())), InstrInfo(*this),
- TLInfo(*this), TSInfo(DL), JITInfo(*this) {
+ TLInfo(*this), TSInfo(DL), JITInfo(Subtarget.hasSSE1()) {
// Determine the PICStyle based on the target selected.
if (getRelocationModel() == Reloc::Static) {
// Unless we're in PIC or DynamicNoPIC mode, set the PIC style to None.