mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
3d0355b825
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68614 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
253 B
LLVM
10 lines
253 B
LLVM
; RUN: llvm-as < %s | llc -march=arm
|
|
|
|
declare i32 @printf(i8*, ...)
|
|
|
|
define i32 @main() {
|
|
%rem_r = frem double 0.000000e+00, 0.000000e+00 ; <double> [#uses=1]
|
|
%1 = call i32 (i8*, ...)* @printf(i8* null, double %rem_r) ; <i32> [#uses=0]
|
|
ret i32 0
|
|
}
|