Use subword loads instead of a 4-byte load when the size of a structure (or a
authorAkira Hatanaka <ahatanak@gmail.com>
Thu, 18 Aug 2011 23:39:37 +0000 (23:39 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Thu, 18 Aug 2011 23:39:37 +0000 (23:39 +0000)
commit5ac8547a412d1b42c5ff333fc0becd56b98b74cb
tree3112baec5b6ddc47da526e733d0b020985ff9f25
parent28bea08e531452992ff1e25e8584883dfbd4c232
Use subword loads instead of a 4-byte load when the size of a structure (or a
piece of it) that is being passed by value is smaller than a word.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138007 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
test/CodeGen/Mips/unalignedload.ll