diff --git a/llvm/test/CodeGen/PowerPC/pr36292.ll b/llvm/test/CodeGen/PowerPC/pr36292.ll index a171918b9e07..e01d4746feb9 100644 --- a/llvm/test/CodeGen/PowerPC/pr36292.ll +++ b/llvm/test/CodeGen/PowerPC/pr36292.ll @@ -1,3 +1,4 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown < %s | \ ; RUN: FileCheck %s --implicit-check-not=mtctr --implicit-check-not=bdnz $test = comdat any @@ -5,14 +6,26 @@ $test = comdat any ; No CTR loop due to frem (since it is always a call). define void @test() #0 comdat { ; CHECK-LABEL: test: -; CHECK: ld 29, 0(3) -; CHECK: ld 30, 40(1) -; CHECK: xxlxor 31, 31, 31 -; CHECK: cmpld 30, 29 +; CHECK: # %bb.0: +; CHECK-NEXT: mflr 0 +; CHECK-NEXT: .cfi_def_cfa_offset 80 +; CHECK-NEXT: .cfi_offset lr, 16 +; CHECK-NEXT: .cfi_offset r29, -32 +; CHECK-NEXT: .cfi_offset r30, -24 +; CHECK-NEXT: .cfi_offset f31, -8 +; CHECK-NEXT: std 29, -32(1) # 8-byte Folded Spill +; CHECK-NEXT: std 30, -24(1) # 8-byte Folded Spill +; CHECK-NEXT: stfd 31, -8(1) # 8-byte Folded Spill +; CHECK-NEXT: std 0, 16(1) +; CHECK-NEXT: stdu 1, -80(1) +; CHECK-NEXT: ld 29, 0(3) +; CHECK-NEXT: ld 30, 40(1) +; CHECK-NEXT: xxlxor 31, 31, 31 +; CHECK-NEXT: cmpld 30, 29 ; CHECK-NEXT: bge- 0, .LBB0_2 ; CHECK-NEXT: .p2align 5 ; CHECK-NEXT: .LBB0_1: # %bounds.ok -; CHECK: fmr 1, 31 +; CHECK: fmr 1, 31 ; CHECK-NEXT: lfsx 2, 0, 3 ; CHECK-NEXT: bl fmodf ; CHECK-NEXT: nop