summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-01-22 23:49:11 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-01-22 23:49:11 +0000
commitafc36739cda2bd95ce2856ad90583d0c8bfc20f9 (patch)
tree77f2bac06bc493e894378efcbb037bc4b474333e /lib
parentfaca5497a26672669934abbcf23894ce93408c10 (diff)
downloadllvm-afc36739cda2bd95ce2856ad90583d0c8bfc20f9.tar.gz
llvm-afc36739cda2bd95ce2856ad90583d0c8bfc20f9.tar.bz2
llvm-afc36739cda2bd95ce2856ad90583d0c8bfc20f9.tar.xz
Be more conservative with clustering f32 / f64 loads.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86InstrInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp
index db059abdcb..3ae352cc4d 100644
--- a/lib/Target/X86/X86InstrInfo.cpp
+++ b/lib/Target/X86/X86InstrInfo.cpp
@@ -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;
}