blob: eb23de0b9716167881d9b645cff100b785f3743b [file] [log] [blame]
Eric Christopherd574bb52011-04-18 19:26:25 +00001; RUN: llc < %s -O0 -verify-machineinstrs -regalloc=fast
2; Previously we'd crash as out of registers on this input by clobbering all of
3; the aliases.
4target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:32:64-v128:32:128-a0:0:32-n32"
5target triple = "thumbv7-apple-darwin10.0.0"
6
7define void @_Z8TestCasev() nounwind ssp {
8entry:
9 %a = alloca float, align 4
10 %tmp = load float* %a, align 4
11 call void asm sideeffect "", "w,~{s0},~{s16}"(float %tmp) nounwind, !srcloc !0
12 ret void
13}
14
15!0 = metadata !{i32 109}