brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 7915d66 Raw
36 lines · plain
1; RUN: llc -mtriple=mipsel-linux-gnu -mattr=mips16 -mattr=+soft-float -mips16-hard-float -relocation-model=static -mips16-constant-islands < %s | FileCheck %s2 3; ModuleID = 'const1.c'4target datalayout = "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-n32-S64"5target triple = "mipsel-unknown-linux"6 7@i = common global i32 0, align 48@j = common global i32 0, align 49@k = common global i32 0, align 410@l = common global i32 0, align 411 12; Function Attrs: nounwind13define void @t() #0 {14entry:15  store i32 -559023410, ptr @i, align 416  store i32 -559023410, ptr @j, align 417  store i32 -87105875, ptr @k, align 418  store i32 262991277, ptr @l, align 419  ret void20; CHECK: 	lw	${{[0-9]+}}, $CPI0_021; CHECK:	lw	${{[0-9]+}}, $CPI0_122; CHECK: 	lw	${{[0-9]+}}, $CPI0_223; CHECK: $CPI0_0:24; CHECK:	.4byte	373594388625; CHECK: $CPI0_1:26; CHECK:	.4byte	420786142127; CHECK: $CPI0_2:28; CHECK:	.4byte	26299127729}30 31attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="true" }32 33!llvm.ident = !{!0}34 35!0 = !{!"clang version 3.4 (gitosis@dmz-portal.mips.com:clang.git b754974ec32ab712ea7d8b52cd8037b24e7d6ed3) (gitosis@dmz-portal.mips.com:llvm.git 8e211187b501bc73edb938fde0019c9a20bcffd5)"}36