Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -march=mipsel < %s | FileCheck %s
      2 
      3 %struct.unaligned = type <{ i32 }>
      4 
      5 define void @zero_u(%struct.unaligned* nocapture %p) nounwind {
      6 entry:
      7 ; CHECK: usw $zero
      8   %x = getelementptr inbounds %struct.unaligned* %p, i32 0, i32 0
      9   store i32 0, i32* %x, align 1
     10   ret void
     11 }
     12 
     13 define void @zero_a(i32* nocapture %p) nounwind {
     14 entry:
     15 ; CHECK: sw $zero
     16   store i32 0, i32* %p, align 4
     17   ret void
     18 }
     19 
     20