brintos

brintos / llvm-project-archived public Read only

0
0
Text · 342 B · 6059839 Raw
20 lines · plain
1; RUN: llc -mtriple=mipsel < %s | FileCheck %s2 3%struct.unaligned = type <{ i32 }>4 5define void @zero_u(ptr nocapture %p) nounwind {6entry:7; CHECK: swl $zero8; CHECK: swr $zero9  store i32 0, ptr %p, align 110  ret void11}12 13define void @zero_a(ptr nocapture %p) nounwind {14entry:15; CHECK: sw $zero16  store i32 0, ptr %p, align 417  ret void18}19 20