Try harder to get a consistent floating point results.
[oota-llvm.git] / lib / CodeGen / SelectionDAG / TargetSelectionDAGInfo.cpp
index a081e3cd493fc2ed209f3b3cf52ecbb55e56651d..f769b44efbb3f5a8f24b607eb0474e0069237f6c 100644 (file)
@@ -16,7 +16,7 @@
 using namespace llvm;
 
 TargetSelectionDAGInfo::TargetSelectionDAGInfo(const TargetMachine &TM)
-  : TD(TM.getTargetData()) {
+  : TD(TM.getDataLayout()) {
 }
 
 TargetSelectionDAGInfo::~TargetSelectionDAGInfo() {