1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
4 define i1 @poison(float %x) {
5 ; CHECK-LABEL: @poison(
6 ; CHECK-NEXT: ret i1 poison
8 %v = fcmp oeq float %x, poison
12 define i1 @poison2(float %x) {
13 ; CHECK-LABEL: @poison2(
14 ; CHECK-NEXT: ret i1 poison
16 %v = fcmp ueq float %x, poison