diff options
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-06-07 00:03:36 +0000 |
---|---|---|
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-06-07 00:03:36 +0000 |
commit | 01021a8b93989a3c9e17dea540fe66809bf25403 (patch) | |
tree | c9f3301a0b7a761e64cf766feaa348a6517b9390 /test/CodeGen/SPARC/2011-01-19-DelaySlot.ll | |
parent | 6a72c84b161c176da91ddae1bd97bae7aab6d968 (diff) | |
download | external_llvm-01021a8b93989a3c9e17dea540fe66809bf25403.zip external_llvm-01021a8b93989a3c9e17dea540fe66809bf25403.tar.gz external_llvm-01021a8b93989a3c9e17dea540fe66809bf25403.tar.bz2 |
[Sparc]: Use cmp instruction instead of subcc to compare integers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SPARC/2011-01-19-DelaySlot.ll')
-rw-r--r-- | test/CodeGen/SPARC/2011-01-19-DelaySlot.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll b/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll index 89981a8..b39c355 100644 --- a/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll +++ b/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll @@ -40,7 +40,7 @@ bb: ; preds = %entry, %bb %a_addr.0 = add i32 %.pn, %a_addr.18 %3 = add nsw i32 %1, 1 %exitcond = icmp eq i32 %3, %b -;CHECK: subcc +;CHECK: cmp ;CHECK: bne ;CHECK-NOT: nop br i1 %exitcond, label %bb5, label %bb @@ -57,7 +57,7 @@ entry: ;CHECK: test_inlineasm ;CHECK: sethi ;CHECK: !NO_APP -;CHECK-NEXT: subcc +;CHECK-NEXT: cmp ;CHECK-NEXT: bg ;CHECK-NEXT: nop tail call void asm sideeffect "sethi 0, %g0", ""() nounwind |