[PATCH] D30966: AMDGPU: Fix annotating loops with nested loop conditions
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 20:00:31 PDT 2017
arsenm created this revision.
Herald added subscribers: tpr, dstuttard, tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.
If the branch condition for a loop was a phi which itself
was fed from a phi from a loop, it isn't safe to try
to delete the phi until after the loop is handled.
https://reviews.llvm.org/D30966
Files:
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
test/CodeGen/AMDGPU/nested-loop-conditions.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30966.91811.patch
Type: text/x-patch
Size: 14394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170315/fa3f23d7/attachment.bin>
More information about the llvm-commits
mailing list