[PATCH] D12283: AMDGPU: Handle sub of constant for DS offset folding
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 24 08:45:46 PDT 2015
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.
sub C, x - > add (sub 0, v), C for DS offsets.
This is mostly to fix regressions that show up when SeparateConstOffsetFromGEP is enabled.
http://reviews.llvm.org/D12283
Files:
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
test/CodeGen/AMDGPU/ds-sub-offset.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12283.32961.patch
Type: text/x-patch
Size: 9347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150824/cabac8c4/attachment.bin>
More information about the llvm-commits
mailing list