]> granicus.if.org Git - llvm/commit
Merging r236306:
authorTom Stellard <thomas.stellard@amd.com>
Mon, 4 May 2015 19:50:16 +0000 (19:50 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 4 May 2015 19:50:16 +0000 (19:50 +0000)
commitcb675e58df1e57cb24733282e85e66b09d96a08e
tree6c19065507100a3c2ecb9fee6132b84d5187d2f8
parentb968a2dced774ebdb38bd793d65e354dc6b0d767
Merging r236306:

------------------------------------------------------------------------
r236306 | thomas.stellard | 2015-04-30 23:44:08 -0400 (Thu, 30 Apr 2015) | 11 lines

R600/SI: Fix verifier errors from the SIAnnotateControlFlow pass

This pass was generating 'Instruction does not dominate all uses!'
errors for programs which had loops with a condition variable that
depended on the result of a phi instruction from outside of the loop.

The pass was inserting new phi nodes outside of the loop which used values
defined inside the loop.

http://bugs.freedesktop.org/show_bug.cgi?id=90056

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@236451 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIAnnotateControlFlow.cpp
test/CodeGen/R600/si-annotate-cf.ll