mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
7 lines
146 B
LLVM
7 lines
146 B
LLVM
|
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div
|
||
|
|
||
|
define i8 @test(i8 %x) readnone nounwind {
|
||
|
%A = udiv i8 %x, 250
|
||
|
ret i8 %A
|
||
|
}
|