R600/SI: SI Control Flow Annotation bug fixed
authorTom Stellard <thomas.stellard@amd.com>
Fri, 20 Jun 2014 17:06:02 +0000 (17:06 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 20 Jun 2014 17:06:02 +0000 (17:06 +0000)
commit98b0736565214ec13b9b1bd329d041cbf6e18f9c
tree0b99c7abb63ae70c3ae9ac99b2bfa02c3f9b2b52
parent538c95179c6496cef56e28623a912c397bfe4b29
R600/SI: SI Control Flow Annotation bug fixed

Mixing of AddAvailableValue and GetValueAtEndOfBlock methods of SSAUpdater
leaded to the endless loop generation when the nested loops annotated.

This fixes a bug in the OCL_ML/KNN OpenCV test.  The test case is too
complex for FileCheck and would be very fragile.

Patch by: Elena Denisova

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211374 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIAnnotateControlFlow.cpp