llvm-svn: 203013
This commit is contained in:
Matt Arsenault 2014-03-05 21:47:22 +00:00
parent 6c8100748f
commit ca6dcfcf59
1 changed files with 3 additions and 3 deletions

View File

@ -613,9 +613,9 @@ SDValue AMDGPUTargetLowering::MergeVectorStore(const SDValue &Op,
EVT MemVT = Store->getMemoryVT();
unsigned MemBits = MemVT.getSizeInBits();
// Byte stores are really expensive, so if possible, try to pack
// 32-bit vector truncatating store into an i32 store.
// XXX: We could also handle optimize other vector bitwidths
// Byte stores are really expensive, so if possible, try to pack 32-bit vector
// truncating store into an i32 store.
// XXX: We could also handle optimize other vector bitwidths.
if (!MemVT.isVector() || MemBits > 32) {
return SDValue();
}