]> granicus.if.org Git - llvm/commit
Merging r260692:
authorTom Stellard <thomas.stellard@amd.com>
Fri, 3 Jun 2016 16:45:55 +0000 (16:45 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 3 Jun 2016 16:45:55 +0000 (16:45 +0000)
commit0113f5fd1e758d695ca9fb700ac4b1ddec47e11f
tree5c4d8e9fda1f39021adcc7eafc7a9f5616b2d548
parentb4989f049a478f74c89fb7c3ad9064ca54e506a9
Merging r260692:

------------------------------------------------------------------------
r260692 | changpeng.fang | 2016-02-12 09:11:04 -0800 (Fri, 12 Feb 2016) | 13 lines

AMDGPU/SI: Annotate Loops with Constant Condition in SIAnnotateControlFlow pass.

Summary:
  It is possible that the loop condition can be a boolean constant (infinite loop,
for example). So we sould handle constant condition in annotating a loop. This
patch adds this functionality to support annotating constant condition.

Reviewers: tstellarAMD, arsenm

Subscribers: llvm-commits, arsenm

Differential Revision: http://reviews.llvm.org/D15093

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@271685 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll [new file with mode: 0644]