[llvm] r356253 - [SPARC] Regenerate label test for D59363
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 15 04:24:18 PDT 2019
Author: rksimon
Date: Fri Mar 15 04:24:17 2019
New Revision: 356253
URL: http://llvm.org/viewvc/llvm-project?rev=356253&view=rev
Log:
[SPARC] Regenerate label test for D59363
Modified:
llvm/trunk/test/CodeGen/SPARC/missinglabel.ll
Modified: llvm/trunk/test/CodeGen/SPARC/missinglabel.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/missinglabel.ll?rev=356253&r1=356252&r2=356253&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/missinglabel.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/missinglabel.ll Fri Mar 15 04:24:17 2019
@@ -1,17 +1,33 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -verify-machineinstrs | FileCheck %s
+
target datalayout = "E-m:e-i64:64-n32:64-S128"
target triple = "sparc64-unknown-linux-gnu"
define void @f() align 2 {
+; CHECK-LABEL: f:
+; CHECK: .cfi_startproc
+; CHECK-NEXT: ! %bb.0: ! %entry
+; CHECK-NEXT: cmp %o0, 0
+; CHECK-NEXT: be %xcc, .LBB0_2
+; CHECK-NEXT: nop
+; CHECK-NEXT: ba .LBB0_1
+; CHECK-NEXT: nop
+; CHECK-NEXT: .LBB0_2: ! %targetblock
+; CHECK-NEXT: mov %g0, %o0
+; CHECK-NEXT: cmp %o0, 0
+; CHECK-NEXT: bne .LBB0_4
+; CHECK-NEXT: nop
+; CHECK-NEXT: ! %bb.3: ! %cond.false.i83
+; CHECK-NEXT: .LBB0_1: ! %cond.false
+; CHECK-NEXT: .LBB0_4: ! %exit.i85
entry:
-; CHECK: %xcc, .LBB0_2
%cmp = icmp eq i64 undef, 0
br i1 %cmp, label %targetblock, label %cond.false
cond.false:
unreachable
-; CHECK: .LBB0_2: ! %targetblock
targetblock:
br i1 undef, label %cond.false.i83, label %exit.i85
More information about the llvm-commits
mailing list