diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2012-03-01 22:12:30 +0000 | 
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-03-01 22:12:30 +0000 | 
| commit | 6bbe1f0d1065b91c08cb6bb882046930cdb1b684 (patch) | |
| tree | 85381032adfef407f6978f868fd33b6cba399889 /llvm/lib/Target/Mips/MipsISelLowering.cpp | |
| parent | f7e02a0cabe78bb20d3b27a1337c266399f93c41 (diff) | |
| download | bcm5719-llvm-6bbe1f0d1065b91c08cb6bb882046930cdb1b684.tar.gz bcm5719-llvm-6bbe1f0d1065b91c08cb6bb882046930cdb1b684.zip | |
Fix bugs which were introduced when support for base+index floating point loads
and stores was added.
- SelectAddr should return false if Parent is an unaligned f32 load or store.
- Only aligned load and store nodes should be matched to select reg+imm
  floating point instructions.
- MIPS does not have support for f64 unaligned load or store instructions.
llvm-svn: 151843
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsISelLowering.cpp | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp index f1b100d1bd5..725e4a61a96 100644 --- a/llvm/lib/Target/Mips/MipsISelLowering.cpp +++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp @@ -268,7 +268,6 @@ bool MipsTargetLowering::allowsUnalignedMemoryAccesses(EVT VT) const {    case MVT::i16:      return true;    case MVT::f32: -  case MVT::f64:      return Subtarget->hasMips32r2Or64();    default:      return false; | 

