Be more conservative with clustering f32 / f64 loads.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 22 Jan 2010 23:49:11 +0000 (23:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 22 Jan 2010 23:49:11 +0000 (23:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94254 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.cpp

index db059abdcb1c2f4ac7c8e82037193b940f131d8e..3ae352cc4d756f19705274419574f8bae4f9b89a 100644 (file)
@@ -2990,6 +2990,8 @@ bool X86InstrInfo::shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
   case MVT::i16:
   case MVT::i32:
   case MVT::i64:
+  case MVT::f32:
+  case MVT::f64:
     if (NumLoads)
       return false;
   }