R600/SI: Fix crash in SIInstrInfo::areLoadsFromSameBasePtr()
authorTom Stellard <thomas.stellard@amd.com>
Mon, 23 Mar 2015 16:06:01 +0000 (16:06 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 23 Mar 2015 16:06:01 +0000 (16:06 +0000)
commitfd58f22744e692773da5a806686c6d787826c3cd
treef3e57211f63ac2990f1784adcbe0a91b68e6a154
parentfdfad962a4861e69b66ec8b93147bfaf4013db28
R600/SI: Fix crash in SIInstrInfo::areLoadsFromSameBasePtr()

This function assumed that SMRD instructions always have immediate
offsets, which is not always the case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232957 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp
test/CodeGen/R600/schedule-kernel-arg-loads.ll