aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-08-30 03:26:18 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-08-30 03:26:18 +0000
commit3cb61634ff3795ef65b1f618d3809053b6a0a515 (patch)
tree34e9788cbd49a6e0293926931d10d8ab9afb8b8f /clang/lib/Serialization/ModuleManager.cpp
parent06cab79e5000c2859f0deff758d7526b7f4aff68 (diff)
downloadllvm-3cb61634ff3795ef65b1f618d3809053b6a0a515.zip
llvm-3cb61634ff3795ef65b1f618d3809053b6a0a515.tar.gz
llvm-3cb61634ff3795ef65b1f618d3809053b6a0a515.tar.bz2
AMDGPU: Don't look for DS merge candidates with one use address
The merge is only possible if the base address register is the same for the two instructions. If there is only the one use, there's no point in doing an expensive forward scan checking for memory interference looking for a merge candidate. This gives a signficant improvement in one extreme testcase. The code to do the scan is still algorithmically terrible, so this is still the slowest pass in that example. llvm-svn: 312096
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions