diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-17 00:06:43 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-17 00:06:43 +0000 |
commit | db53d99d025acb2737e4248cddfe909b5ecfc478 (patch) | |
tree | e380a0c679a51dafaeac7aab72c2543962c1a403 /llvm/lib/CodeGen/OptimizePHIs.cpp | |
parent | 0a12729f99aacee25aecb5a166129188240c8853 (diff) | |
download | llvm-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