R600/SI: Wrap local memory pointer in AssertZExt on SI
authorTom Stellard <thomas.stellard@amd.com>
Fri, 22 Aug 2014 18:49:31 +0000 (18:49 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 22 Aug 2014 18:49:31 +0000 (18:49 +0000)
commit80544654f334e4290af9f81824af2c68c9a3c564
treec31c8e3517a7597966ae9ce18bfe6b65ad5b0d05
parent9048dc6867a710218b16b6986f325f6c06624888
R600/SI: Wrap local memory pointer in AssertZExt on SI

These pointers are really just offsets and they will always be
less than 16-bits.  Using AssertZExt allows us to use computeKnownBits
to prove that these values are positive.  We will use this information
in a later commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216277 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIISelLowering.cpp