aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-02-02 19:18:48 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-02-02 19:18:48 +0000
commit853a1fc6d9d433c9d68f6ecd04477bf120e0cb73 (patch)
tree759ce6fd2d138f143dfcd0ac6a24166f0c76858e /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentb0de6bad43ee35b0338c510d2bb1ba49eb233b7c (diff)
downloadllvm-853a1fc6d9d433c9d68f6ecd04477bf120e0cb73.zip
llvm-853a1fc6d9d433c9d68f6ecd04477bf120e0cb73.tar.gz
llvm-853a1fc6d9d433c9d68f6ecd04477bf120e0cb73.tar.bz2
AMDGPU: Use inbounds when calculating workitem offset
When promoting allocas to LDS, we know we are indexing into a specific area just created, and the calculation will also never overflow. Also emit some of the muls as nsw nuw, because instcombine infers this already from the range metadata. I think putting this on the other adds and muls might be OK too, but I'm not 100% sure. llvm-svn: 259545
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions