[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
[oota-llvm.git] / test / CodeGen / X86 / frem-msvc32.ll
1 ; Make sure that 32-bit FREM is promoted to 64-bit FREM on 32-bit MSVC.
2
3 ; MSVC does not have a 32-bit fmodf function, so it must be promoted to
4 ; a 64-bit fmod rtlib call.
5 ; RUN: llc -mtriple=i686-pc-windows-msvc -O0 < %s  | FileCheck %s
6
7 ; CHECK: @do_frem32
8 ; CHECK: {{_fmod$}}
9 define float @do_frem32(float %a, float %b) {
10     %val = frem float %a, %b
11     ret float %val
12 }