AMDGPU: Make i64 loads/stores promote to v2i32
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 2 May 2016 20:07:26 +0000 (20:07 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 2 May 2016 20:07:26 +0000 (20:07 +0000)
commit2b957b5a6f228797a871426d48098fee479883ef
treeb4bf9a9ce48d543f320cbc6e212beb630a07f17c
parent5002a67ef2b0e05350220ba16a2b43f92001799c
AMDGPU: Make i64 loads/stores promote to v2i32

Now that unaligned access expansion should not attempt
to produce i64 accesses, we can remove the hack in
PreprocessISelDAG where this is done.

This allows splitting i64 private accesses while
allowing the new add nodes indexing the vector components
can be folded with the base pointer arithmetic.

llvm-svn: 268293
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/bitreverse-inline-immediates.ll
llvm/test/CodeGen/AMDGPU/fcanonicalize.ll
llvm/test/CodeGen/AMDGPU/imm.ll
llvm/test/CodeGen/AMDGPU/shift-and-i128-ubfe.ll