repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove a dead bool.
[llvm/avr.git]
/
test
/
Assembler
/
2007-07-30-AutoUpgradeZextSext.ll
blob
ea2db4414f5617a13b34b5cc0eb8ba57b530d95e
1
; Test that upgrading zext/sext attributes to zeroext and signext
2
; works correctly.
3
; PR1553
4
; RUN: llvm-as < %s > /dev/null
5
6
define i32 @bar() {
7
%t = call i8 @foo( i8 10 sext ) zext
8
%x = zext i8 %t to i32
9
ret i32 %x
10
}
11
12
declare i8 @foo(i8 signext ) zeroext