OSDN Git Service

R600/SI: Report unaligned memory accesses as legal for > 32-bit types
authorTom Stellard <thomas.stellard@amd.com>
Tue, 25 Jun 2013 02:39:35 +0000 (02:39 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 25 Jun 2013 02:39:35 +0000 (02:39 +0000)
commit73e44d8ae4c227af92b8f96f447e4a7ed38f6de5
treeda4253c523cb6ff88b16f8033077a27c85912dea
parentd67d029b6d2d9cc4274ffea5cc5c4bd120fe3425
R600/SI: Report unaligned memory accesses as legal for > 32-bit types

In reality, some unaligned memory accesses are legal for 32-bit types and
smaller too, but it all depends on the address space.  Allowing
unaligned loads/stores for > 32-bit types is mainly to prevent the
legalizer from splitting one load into multiple loads of smaller types.

https://bugs.freedesktop.org/show_bug.cgi?id=65873

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184822 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIISelLowering.h
test/CodeGen/R600/store.ll