22 lines · plain
1; REQUIRES: x862; RUN: llvm-as -o %t.obj %s3; RUN: lld-link /out:%t.exe /entry:foo /subsystem:console %t.obj4 5target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"6target triple = "x86_64-pc-windows-msvc"7 8; Define fltused, since we don't link against the MS C runtime but are9; using floats.10@_fltused = dllexport global i32 0, align 411 12define void @foo(ptr %p, ptr %q, i1 %t) nounwind {13entry:14 br label %loop15loop:16 store <4 x i32><i32 1073741824, i32 1073741824, i32 1073741824, i32 1073741824>, ptr %p17 store <4 x float><float 2.0, float 2.0, float 2.0, float 2.0>, ptr %q18 br i1 %t, label %loop, label %ret19ret:20 ret void21}22