brintos

brintos / llvm-project-archived public Read only

0
0
Text · 963 B · 6e63e2e Raw
30 lines · plain
1; The purpose of this test to verify that the fltused symbol is2; not emitted when purely vector floating point operations are used on Windows.3 4; RUN: llc < %s -mtriple i686-pc-win32 | FileCheck %s5; RUN: llc < %s -mtriple x86_64-pc-win32 | FileCheck %s6 7@foo = external dso_local global [4 x float], align 168 9; Function Attrs: noinline nounwind optnone sspstrong uwtable10define dso_local <4 x float> @func() #0 {11entry:12  %__p.addr.i = alloca ptr, align 813  %vector1 = alloca <4 x float>, align 1614  store ptr @foo, ptr %__p.addr.i, align 815  %0 = load ptr, ptr %__p.addr.i, align 816  %1 = load <4 x float>, ptr %0, align 1617  store <4 x float> %1, ptr %vector1, align 1618  %2 = load <4 x float>, ptr %vector1, align 1619  ret <4 x float> %220}21 22define <4 x float> @mul_vectors(<4 x float> %a, <4 x float> %b) {23entry:24  %result = fmul <4 x float> %a, %b25  ret <4 x float> %result26}27 28; _fltused is determined at a module level29; CHECK-NOT: .globl {{_?}}_fltused30