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
Add a small missed optimization: turn X == C ? X : Y into X == C ? C : Y. This
[llvm/stm8.git]
/
test
/
Assembler
/
aggregate-return-single-value.ll
blob
02fb59f8a0a49105da10505325e7904ac47f3599
1
; RUN: llvm-as < %s | llvm-dis
2
3
define { i32 } @fooa() nounwind {
4
ret i32 0
5
}
6
define { i32 } @foob() nounwind {
7
ret {i32}{ i32 0 }
8
}
9
define [1 x i32] @fooc() nounwind {
10
ret i32 0
11
}
12
define [1 x i32] @food() nounwind {
13
ret [1 x i32][ i32 0 ]
14
}