Home | History | Annotate | Download | only in Fast-ISel
      1 ; RUN: llc -march=mipsel -relocation-model=pic -O0 -mips-fast-isel -fast-isel-abort -mcpu=mips32r2 \
      2 ; RUN:     < %s | FileCheck %s
      3 
      4 @abcd = external global i32
      5 
      6 ; Function Attrs: nounwind
      7 define void @foo()  {
      8 entry:
      9   store i32 12345, i32* @abcd, align 4
     10 ; CHECK: 	addiu	$[[REG1:[0-9]+]], $zero, 12345
     11 ; CHECK: 	lw	$[[REG2:[0-9]+]], %got(abcd)(${{[0-9]+}})
     12 ; CHECK: 	sw	$[[REG1]], 0($[[REG2]])
     13   ret void
     14 }
     15 
     16