xref: /llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/libfunc.ll (revision b280ee1dd7e9b36ae7aaa3953556e4b7a7f31a29)
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
3
4; This is not the mathlib call you were looking for.
5
6declare double @sin(x86_fp80)
7
8define double @PR50960(x86_fp80 %0) {
9; CHECK-LABEL: @PR50960(
10; CHECK-NEXT:    [[CALL:%.*]] = call double @sin(x86_fp80 0xK3FFF8000000000000000)
11; CHECK-NEXT:    ret double [[CALL]]
12;
13  %call = call double @sin(x86_fp80 0xK3FFF8000000000000000)
14  ret double %call
15}
16