mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
0c82b9de77
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41813 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
337 B
LLVM
11 lines
337 B
LLVM
; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | grep call
|
|
; Don't turn this into an infinite loop, this is probably the implementation
|
|
; of fabs and we expect the codegen to lower fabs.
|
|
|
|
define double @fabs(double %f) {
|
|
entry:
|
|
%tmp2 = call double @fabs( double %f ) ; <double> [#uses=1]
|
|
ret double %tmp2
|
|
}
|
|
|