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
/
SystemZ
/
03-RetAndSubreg.ll
blob
ed5e5269525bff45af55d6d81f0d22945079035d
1
; RUN: llc < %s -march=systemz | grep ngr | count 3
2
; RUN: llc < %s -march=systemz | grep nihf | count 1
3
4
define i32 @foo(i32 %a, i32 %b) {
5
entry:
6
%c = and i32 %a, %b
7
ret i32 %c
8
}
9
10
define i32 @foo1(i32 %a, i32 %b) zeroext {
11
entry:
12
%c = and i32 %a, %b
13
ret i32 %c
14
}
15
16
define i32 @foo2(i32 %a, i32 %b) signext {
17
entry:
18
%c = and i32 %a, %b
19
ret i32 %c
20
}
21