aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AVR/sincos-soften-error.ll
blob: 85f5aabb4e9667bf4bca6308fde60e9bdc31bf48 (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llc -mtriple=avr -filetype=null %s 2>&1 | FileCheck %s

; CHECK: error: do not know how to soften fsincos
define { double, double } @test_sincos_f64(double %a) #0 {
  %result = call { double, double } @llvm.sincos.f64(double %a)
  ret { double, double } %result
}

attributes #0 = { nounwind }