1 ; RUN: opt -instcombine -S < %s | FileCheck %s
3 ; This shouldn't fold, because sin(inf) is invalid.
5 ; CHECK: %t = call double @sin(double 0x7FF0000000000000)
7 %t = call double @sin(double 0x7FF0000000000000)
13 ; CHECK: ret double 0.0
14 define double @bar() {
15 %t = call double @sin(double 0.0)
19 declare double @sin(double)