diff options
author | Che-Liang Chiou <clchiou@gmail.com> | 2011-03-22 14:12:00 +0000 |
---|---|---|
committer | Che-Liang Chiou <clchiou@gmail.com> | 2011-03-22 14:12:00 +0000 |
commit | 5e0872e099d854509a3e71055e9266de50955e98 (patch) | |
tree | f6968d4cc22767e9a0398b036f065f815f603747 /test/CodeGen/PTX | |
parent | d6190673f0ccc2a7cca38b6ff7dbec85084b0660 (diff) | |
download | external_llvm-5e0872e099d854509a3e71055e9266de50955e98.zip external_llvm-5e0872e099d854509a3e71055e9266de50955e98.tar.gz external_llvm-5e0872e099d854509a3e71055e9266de50955e98.tar.bz2 |
ptx: add analyze/insert/remove branch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PTX')
-rw-r--r-- | test/CodeGen/PTX/bra.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/PTX/bra.ll b/test/CodeGen/PTX/bra.ll index 0791697..0506a99 100644 --- a/test/CodeGen/PTX/bra.ll +++ b/test/CodeGen/PTX/bra.ll @@ -10,7 +10,10 @@ loop: define ptx_device i32 @test_bra_cond_direct(i32 %x, i32 %y) { entry: +; CHECK: setp.le.u32 p0, r1, r2 %p = icmp ugt i32 %x, %y +; CHECK-NEXT: @p0 bra +; CHECK-NOT: bra br i1 %p, label %clause.if, label %clause.else clause.if: ; CHECK: mov.u32 r0, r1 |