Richard Osborne 70ad3951e4 Move various XCore tests to FileCheck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143457 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-01 10:41:28 +00:00

19 lines
399 B
LLVM

; RUN: llc < %s -march=xcore | FileCheck %s
declare double @llvm.log.f64(double)
define double @test(double %F) {
; CHECK: test:
; CHECK: bl log
%result = call double @llvm.log.f64(double %F)
ret double %result
}
declare float @llvm.log.f32(float)
define float @testf(float %F) {
; CHECK: testf:
; CHECK: bl logf
%result = call float @llvm.log.f32(float %F)
ret float %result
}