• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s
2; Formerly produced .long, 7320806 (partial)
3; CHECK: .byte  22
4; CHECK: .byte  21
5; CHECK: .byte  20
6; CHECK: .byte  3
7; CHECK: .byte  25
8; CHECK: .byte  24
9; CHECK: .byte  23
10; CHECK: .byte  3
11; CHECK: .byte  28
12; CHECK: .byte  27
13; CHECK: .byte  26
14; CHECK: .byte  3
15; CHECK: .byte  31
16; CHECK: .byte  30
17; CHECK: .byte  29
18; CHECK: .byte  3
19@baz = common global <16 x i8> zeroinitializer    ; <<16 x i8>*> [#uses=1]
20
21define void @foo(<16 x i8> %x) nounwind ssp {
22entry:
23  %x_addr = alloca <16 x i8>                      ; <<16 x i8>*> [#uses=2]
24  %temp = alloca <16 x i8>                        ; <<16 x i8>*> [#uses=2]
25  %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
26  store <16 x i8> %x, <16 x i8>* %x_addr
27  store <16 x i8> <i8 22, i8 21, i8 20, i8 3, i8 25, i8 24, i8 23, i8 3, i8 28, i8 27, i8 26, i8 3, i8 31, i8 30, i8 29, i8 3>, <16 x i8>* %temp, align 16
28  %0 = load <16 x i8>* %x_addr, align 16          ; <<16 x i8>> [#uses=1]
29  %1 = load <16 x i8>* %temp, align 16            ; <<16 x i8>> [#uses=1]
30  %tmp = add <16 x i8> %0, %1                     ; <<16 x i8>> [#uses=1]
31  store <16 x i8> %tmp, <16 x i8>* @baz, align 16
32  br label %return
33
34return:                                           ; preds = %entry
35  ret void
36}
37