diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2015-09-08 19:34:22 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2015-09-08 19:34:22 +0000 |
commit | 966a94f8614266c5b964f185cd2e288fbdeb802f (patch) | |
tree | 7345303dd9ce4d827d0d6798b6763d2c9eb88a09 /clang/lib/Serialization | |
parent | 640499b1fac550967573b635b293fea628b09a85 (diff) | |
download | bcm5719-llvm-966a94f8614266c5b964f185cd2e288fbdeb802f.tar.gz bcm5719-llvm-966a94f8614266c5b964f185cd2e288fbdeb802f.zip |
AMDGPU: Handle sub of constant for DS offset folding
sub C, x - > add (sub 0, x), C for DS offsets.
This is mostly to fix regressions that show up when
SeparateConstOffsetFromGEP is enabled.
llvm-svn: 247054
Diffstat (limited to 'clang/lib/Serialization')
0 files changed, 0 insertions, 0 deletions