repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git]
/
test
/
CodeGen
/
Mips
/
2010-11-09-Mul.ll
blob
65a10b5836cc8a97667ebe0a6dcff20621a593fb
1
; RUN: llc -march=mips -mcpu=4ke < %s | FileCheck %s
2
3
; CHECK: mul $2, $5, $4
4
define i32 @mul1(i32 %a, i32 %b) nounwind readnone {
5
entry:
6
%mul = mul i32 %b, %a
7
ret i32 %mul
8
}
9
10
; CHECK: mul $2, $5, $4
11
define i32 @mul2(i32 %a, i32 %b) nounwind readnone {
12
entry:
13
%mul = mul nsw i32 %b, %a
14
ret i32 %mul
15
}