mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-14 13:07:31 +00:00
201c9776bd
multiplies. Some more cleverness would be nice, though. It would be nice if we could do this transformation on illegal types. Also, we would prefer a narrower constant when possible so that we can use a narrower multiply, which can be cheaper. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60283 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
123 B
LLVM
7 lines
123 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 | grep 111
|
|
|
|
define i8 @foo(i8 %tmp325) {
|
|
%t546 = urem i8 %tmp325, 37
|
|
ret i8 %t546
|
|
}
|