1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2; RUN: opt < %s -instsimplify -S | FileCheck %s
3
4; TODO: these should be poison
5define i1 @poison(float %x) {
6; CHECK-LABEL: @poison(
7; CHECK-NEXT:    ret i1 false
8;
9  %v = fcmp oeq float %x, poison
10  ret i1 %v
11}
12
13define i1 @poison2(float %x) {
14; CHECK-LABEL: @poison2(
15; CHECK-NEXT:    ret i1 true
16;
17  %v = fcmp ueq float %x, poison
18  ret i1 %v
19}
20