mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[NFC][Codegen] Autogenerate check lines in PowerPC/2007-11-16-landingpad-split.ll
It is being affected by an upcoming SimplifyCFG change.
This commit is contained in:
parent
cc3b86bd5c
commit
322eb67111
@ -1,24 +1,82 @@
|
||||
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||||
; RUN: llc -simplifycfg-require-and-preserve-domtree=1 < %s | FileCheck %s
|
||||
;; Formerly crashed, see PR 1508
|
||||
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
|
||||
target triple = "powerpc64-unknown-linux-gnu"
|
||||
%struct.Range = type { i64, i64 }
|
||||
|
||||
; CHECK: .cfi_startproc
|
||||
; CHECK: .cfi_personality 148, DW.ref.__gxx_personality_v0
|
||||
; CHECK: .cfi_lsda 20, .Lexception0
|
||||
; CHECK: .cfi_def_cfa_offset 176
|
||||
; CHECK: .cfi_offset r31, -8
|
||||
; CHECK: .cfi_offset lr, 16
|
||||
; CHECK: .cfi_def_cfa_register r31
|
||||
; CHECK: .cfi_offset r27, -40
|
||||
; CHECK: .cfi_offset r28, -32
|
||||
; CHECK: .cfi_offset r29, -24
|
||||
; CHECK: .cfi_offset r30, -16
|
||||
; CHECK: .cfi_endproc
|
||||
|
||||
|
||||
define void @Bork(i64 %range.0.0, i64 %range.0.1, i64 %size) personality i32 (...)* @__gxx_personality_v0 {
|
||||
; CHECK-LABEL: Bork:
|
||||
; CHECK: # %bb.0: # %entry
|
||||
; CHECK-NEXT: mflr 0
|
||||
; CHECK-NEXT: std 31, -8(1)
|
||||
; CHECK-NEXT: std 0, 16(1)
|
||||
; CHECK-NEXT: stdu 1, -176(1)
|
||||
; CHECK-NEXT: .cfi_def_cfa_offset 176
|
||||
; CHECK-NEXT: .cfi_offset r31, -8
|
||||
; CHECK-NEXT: .cfi_offset lr, 16
|
||||
; CHECK-NEXT: mr 31, 1
|
||||
; CHECK-NEXT: .cfi_def_cfa_register r31
|
||||
; CHECK-NEXT: .cfi_offset r27, -40
|
||||
; CHECK-NEXT: .cfi_offset r28, -32
|
||||
; CHECK-NEXT: .cfi_offset r29, -24
|
||||
; CHECK-NEXT: .cfi_offset r30, -16
|
||||
; CHECK-NEXT: std 29, 152(31) # 8-byte Folded Spill
|
||||
; CHECK-NEXT: mr 29, 3
|
||||
; CHECK-NEXT: rldic 3, 5, 3, 29
|
||||
; CHECK-NEXT: std 27, 136(31) # 8-byte Folded Spill
|
||||
; CHECK-NEXT: std 30, 160(31) # 8-byte Folded Spill
|
||||
; CHECK-NEXT: mr 30, 4
|
||||
; CHECK-NEXT: addi 3, 3, 15
|
||||
; CHECK-NEXT: rldicl 3, 3, 60, 4
|
||||
; CHECK-NEXT: mr 27, 1
|
||||
; CHECK-NEXT: rldicl 3, 3, 4, 28
|
||||
; CHECK-NEXT: addi 4, 31, 176
|
||||
; CHECK-NEXT: neg 3, 3
|
||||
; CHECK-NEXT: std 28, 144(31) # 8-byte Folded Spill
|
||||
; CHECK-NEXT: stdux 4, 1, 3
|
||||
; CHECK-NEXT: addi 3, 1, 112
|
||||
; CHECK-NEXT: .Ltmp0:
|
||||
; CHECK-NEXT: bl Foo
|
||||
; CHECK-NEXT: nop
|
||||
; CHECK-NEXT: .Ltmp1:
|
||||
; CHECK-NEXT: # %bb.1: # %bb30.preheader
|
||||
; CHECK-NEXT: addi 28, 31, 120
|
||||
; CHECK-NEXT: cmpldi 30, 0
|
||||
; CHECK-NEXT: beq 0, .LBB0_4
|
||||
; CHECK-NEXT: .LBB0_2: # %cond_true
|
||||
; CHECK-NEXT: #
|
||||
; CHECK-NEXT: .Ltmp3:
|
||||
; CHECK-NEXT: mr 3, 29
|
||||
; CHECK-NEXT: mr 4, 28
|
||||
; CHECK-NEXT: bl Bar
|
||||
; CHECK-NEXT: nop
|
||||
; CHECK-NEXT: .Ltmp4:
|
||||
; CHECK-NEXT: # %bb.3: # %invcont23
|
||||
; CHECK-NEXT: #
|
||||
; CHECK-NEXT: ld 3, 128(31)
|
||||
; CHECK-NEXT: sub 30, 30, 3
|
||||
; CHECK-NEXT: cmpldi 30, 0
|
||||
; CHECK-NEXT: bne 0, .LBB0_2
|
||||
; CHECK-NEXT: .LBB0_4: # %cleanup
|
||||
; CHECK-NEXT: ld 30, 160(31) # 8-byte Folded Reload
|
||||
; CHECK-NEXT: ld 29, 152(31) # 8-byte Folded Reload
|
||||
; CHECK-NEXT: ld 28, 144(31) # 8-byte Folded Reload
|
||||
; CHECK-NEXT: ld 27, 136(31) # 8-byte Folded Reload
|
||||
; CHECK-NEXT: ld 1, 0(1)
|
||||
; CHECK-NEXT: ld 0, 16(1)
|
||||
; CHECK-NEXT: ld 31, -8(1)
|
||||
; CHECK-NEXT: mtlr 0
|
||||
; CHECK-NEXT: blr
|
||||
; CHECK-NEXT: .LBB0_5: # %unwind.loopexit.split-lp
|
||||
; CHECK-NEXT: .Ltmp2:
|
||||
; CHECK-NEXT: b .LBB0_7
|
||||
; CHECK-NEXT: .LBB0_6: # %unwind.loopexit
|
||||
; CHECK-NEXT: .Ltmp5:
|
||||
; CHECK-NEXT: .LBB0_7: # %unwind
|
||||
; CHECK-NEXT: ld 3, 0(1)
|
||||
; CHECK-NEXT: mr 1, 27
|
||||
; CHECK-NEXT: std 3, 0(1)
|
||||
entry:
|
||||
%effectiveRange = alloca %struct.Range, align 8 ; <%struct.Range*> [#uses=2]
|
||||
%tmp4 = call i8* @llvm.stacksave() ; <i8*> [#uses=1]
|
||||
|
Loading…
Reference in New Issue
Block a user