R600: Implement TargetLowering::getVectorIdxTy()
authorTom Stellard <thomas.stellard@amd.com>
Mon, 5 Aug 2013 22:22:07 +0000 (22:22 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 5 Aug 2013 22:22:07 +0000 (22:22 +0000)
commit2b272a1c8cb6d9f02223a598495d84cd9d75b13d
treee1ccff0f0df8aabb36cc91f99045274af0bdeb4b
parent425b76c2314ff7ee7ad507011bdda1988ae481ef
R600: Implement TargetLowering::getVectorIdxTy()

We use MVT::i32 for the vector index type, because we use 32-bit
operations to caculate offsets when dynamically indexing vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187749 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
lib/Target/R600/AMDGPUISelLowering.h
lib/Target/R600/SIInstructions.td