xref: /llvm-project/llvm/test/CodeGen/Mips/data-layout.ll (revision 86e4beb702fde407a35938a1c37279a61c0291e7)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2; RUN: llc -mtriple=mips64-linux-gnuabi64 -mcpu=mips64 < %s | FileCheck %s -check-prefix=MIPS64
3; RUN: llc -mtriple=mips64el-linux-gnuabi64 -mcpu=mips64 < %s | FileCheck %s -check-prefix=MIPS64EL
4
5; MIPS64:      .p2align 2, 0x0
6; MIPS64-NEXT: Li8:
7; MIPS64-NEXT: .byte 10 # 0xa
8; MIPS64-NEXT: .size .Li8, 1
9
10; MIPS64EL:      .p2align 2, 0x0
11; MIPS64EL-NEXT: Li8:
12; MIPS64EL-NEXT: .byte 10 # 0xa
13; MIPS64EL-NEXT: .size .Li8, 1
14@i8 = private constant i8 10
15
16; MIPS64:      .p2align 2, 0x0
17; MIPS64-NEXT: .Li16:
18; MIPS64-NEXT: .2byte 10 # 0xa
19; MIPS64-NEXT:  .size .Li16, 2
20
21; MIPS64EL:      .p2align 2, 0x0
22; MIPS64EL-NEXT: .Li16:
23; MIPS64EL-NEXT: .2byte 10 # 0xa
24; MIPS64EL-NEXT:  .size .Li16, 2
25@i16 = private constant i16 10
26
27; MIPS64:      .p2align 2, 0x0
28; MIPS64-NEXT: .Li32:
29; MIPS64-NEXT: .4byte 10 # 0xa
30; MIPS64-NEXT: .size .Li32, 4
31
32; MIPS64EL:      .p2align 2, 0x0
33; MIPS64EL-NEXT: .Li32:
34; MIPS64EL-NEXT: .4byte 10 # 0xa
35; MIPS64EL-NEXT: .size .Li32, 4
36@i32 = private constant i32 10
37
38; MIPS64:      .p2align 3, 0x0
39; MIPS64-NEXT: .Li64:
40; MIPS64-NEXT: .8byte 10 # 0xa
41; MIPS64-NEXT:  .size .Li64, 8
42
43; MIPS64EL:      .p2align 3, 0x0
44; MIPS64EL-NEXT: .Li64:
45; MIPS64EL-NEXT: .8byte 10 # 0xa
46; MIPS64EL-NEXT:  .size .Li64, 8
47@i64 = private constant i64 10
48
49; MIPS64:      .p2align 4, 0x0
50; MIPS64-NEXT: .Li128:
51; MIPS64-NEXT: .8byte 0
52; MIPS64-NEXT: .8byte 10
53; MIPS64-NEXT:  .size .Li128, 16
54
55; MIPS64EL:      .p2align 4, 0x0
56; MIPS64EL-NEXT: .Li128:
57; MIPS64EL-NEXT: .8byte 10
58; MIPS64EL-NEXT: .8byte 0
59; MIPS64EL-NEXT:  .size .Li128, 16
60@i128 = private constant i128 10
61