R600/SI: Consider adjacent offsets in getLdStBaseRegImmOfs
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 30 Jul 2014 01:01:10 +0000 (01:01 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 30 Jul 2014 01:01:10 +0000 (01:01 +0000)
commit7eb0a1014ddea55e3bbaa2bf8243480deaa2cd53
tree53523e67da936889888c74cd9bb5370c0b1762ea
parent2fcbe822c0be8773505afd9e4080d71f8a05953d
R600/SI: Consider adjacent offsets in getLdStBaseRegImmOfs

We can treat ds_read2_* as a single offset if the offsets are adjacent.

No test since emission of read2 instructions for partially
aligned loads isn't implemented yet.

llvm-svn: 214269
llvm/lib/Target/R600/SIInstrInfo.cpp