brintos

brintos / llvm-project-archived public Read only

0
0
Text · 515 B · 25df91a Raw
18 lines · plain
1; RUN: llc -mtriple=mipsel -relocation-model=pic -O0 -fast-isel-abort=3 -mcpu=mips32r2 \2; RUN:     < %s | FileCheck %s3; RUN: llc -mtriple=mipsel -relocation-model=pic -O0 -fast-isel-abort=3 -mcpu=mips32 \4; RUN:     < %s | FileCheck %s5 6@abcd = external global i327 8; Function Attrs: nounwind9define void @foo()  {10entry:11  store i32 12345, ptr @abcd, align 412; CHECK: 	addiu	$[[REG1:[0-9]+]], $zero, 1234513; CHECK: 	lw	$[[REG2:[0-9]+]], %got(abcd)(${{[0-9]+}})14; CHECK: 	sw	$[[REG1]], 0($[[REG2]])15  ret void16}17 18