xref: /llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/libfunc.ll (revision b280ee1dd7e9b36ae7aaa3953556e4b7a7f31a29)
113302c06SSanjay Patel; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2*b280ee1dSBjorn Pettersson; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
313302c06SSanjay Patel
413302c06SSanjay Patel; This is not the mathlib call you were looking for.
513302c06SSanjay Patel
613302c06SSanjay Pateldeclare double @sin(x86_fp80)
713302c06SSanjay Patel
813302c06SSanjay Pateldefine double @PR50960(x86_fp80 %0) {
913302c06SSanjay Patel; CHECK-LABEL: @PR50960(
1013302c06SSanjay Patel; CHECK-NEXT:    [[CALL:%.*]] = call double @sin(x86_fp80 0xK3FFF8000000000000000)
1113302c06SSanjay Patel; CHECK-NEXT:    ret double [[CALL]]
1213302c06SSanjay Patel;
1313302c06SSanjay Patel  %call = call double @sin(x86_fp80 0xK3FFF8000000000000000)
1413302c06SSanjay Patel  ret double %call
1513302c06SSanjay Patel}
16