forked from OSchip/llvm-project
Add another case, which an implementation of test6 must be sure to handle
correctly. llvm-svn: 9672
This commit is contained in:
parent
7be3ab2fb7
commit
11bea4f7c7
|
@ -48,6 +48,12 @@ bool %test6(bool %A) {
|
|||
ret bool %C
|
||||
}
|
||||
|
||||
bool %test6a(bool %A) {
|
||||
%B = cast bool %A to int
|
||||
%C = setne int %B, -1 ; Always true!
|
||||
ret bool %C
|
||||
}
|
||||
|
||||
bool %test7(sbyte* %A) {
|
||||
%B = cast sbyte* %A to int*
|
||||
%C = seteq int* %B, null
|
||||
|
|
Loading…
Reference in New Issue