mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-13 16:03:55 +00:00
Expand unaligned i16 loads/stores for the Mips backend.
This is the first of a series of patches which make changes to the backend to emit unaligned load/store instructions (lwl,lwr,swl,swr) during instruction selection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157862 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bed5b0db45
commit
f66b7b1ff6
@ -292,7 +292,6 @@ bool MipsTargetLowering::allowsUnalignedMemoryAccesses(EVT VT) const {
|
||||
switch (SVT) {
|
||||
case MVT::i64:
|
||||
case MVT::i32:
|
||||
case MVT::i16:
|
||||
return true;
|
||||
case MVT::f32:
|
||||
return Subtarget->hasMips32r2Or64();
|
||||
|
Loading…
x
Reference in New Issue
Block a user