aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/OptimizePHIs.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-17 00:06:43 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-17 00:06:43 +0000
commitdb53d99d025acb2737e4248cddfe909b5ecfc478 (patch)
treee380a0c679a51dafaeac7aab72c2543962c1a403 /llvm/lib/CodeGen/OptimizePHIs.cpp
parent0a12729f99aacee25aecb5a166129188240c8853 (diff)
downloadllvm-db53d99d025acb2737e4248cddfe909b5ecfc478.zip
llvm-db53d99d025acb2737e4248cddfe909b5ecfc478.tar.gz
llvm-db53d99d025acb2737e4248cddfe909b5ecfc478.tar.bz2
AMDGPU: Avoid looking for the DebugLoc in end()
The end() iterator isn't a safe thing to dereference. Pass the DebugLoc into EmitFetchClause and EmitALUClause to avoid it. llvm-svn: 278873
Diffstat (limited to 'llvm/lib/CodeGen/OptimizePHIs.cpp')
0 files changed, 0 insertions, 0 deletions