mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
11 lines
217 B
LLVM
11 lines
217 B
LLVM
|
; RUN: llc -mtriple=thumbv7-windows-itanium -mcpu=cortex-a9 -o - %s | FileCheck %s
|
||
|
|
||
|
define i32 @divide(i32 %i, i32 %j) nounwind {
|
||
|
entry:
|
||
|
%quotient = sdiv i32 %i, %j
|
||
|
ret i32 %quotient
|
||
|
}
|
||
|
|
||
|
; CHECK-NOT: __aeabi_idiv
|
||
|
|