1 ; Ensure constant propagation of remainder instructions is working correctly.
3 ; RUN: opt < %s -constprop -die -S | not grep rem
6 %R = srem i32 4, 3 ; <i32> [#uses=1]
11 %R = srem i32 123, -23 ; <i32> [#uses=1]
15 define float @test3() {
16 %R = frem float 0x4028E66660000000, 0x405ECDA1C0000000 ; <float> [#uses=1]
20 define double @test4() {
21 %R = frem double 0x4073833BEE07AFF8, 0x4028AAABB2A0D19C ; <double> [#uses=1]