llvm-6502/test/CodeGen/X86/2008-03-06-frem-fpstack.ll
Chris Lattner d1108222fd mark frem as expand for all legal fp types on x86, regardless of whether
we're using SSE or not.  This fixes PR2122.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48006 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-07 06:36:32 +00:00

8 lines
209 B
LLVM

; RUN: llvm-as < %s | llc -march=x86 -mcpu=i386
; PR2122
define float @func(float %a, float %b) nounwind {
entry:
%tmp3 = frem float %a, %b ; <float> [#uses=1]
ret float %tmp3
}