sub C, x - > add (sub 0, v), C for DS offsets.
This is mostly to fix regressions that show up when SeparateConstOffsetFromGEP is enabled.
Paths
| Differential D12283
AMDGPU: Handle sub of constant for DS offset folding ClosedPublic Authored by arsenm on Aug 24 2015, 8:45 AM.
Details
Summary sub C, x - > add (sub 0, v), C for DS offsets. This is mostly to fix regressions that show up when SeparateConstOffsetFromGEP is enabled.
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Sep 8 2015, 12:07 PM
Revision Contents
Diff 32961 lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
test/CodeGen/AMDGPU/ds-sub-offset.ll
|