mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 19:20:28 +00:00
d7a261120f
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. llvm-svn: 60283
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
|
|
}
|