mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
More testcases for recent instcombine patches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16569 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dd763f401e
commit
b5ddea5d24
@ -117,3 +117,14 @@ short %test18(sbyte %tmp3) {
|
||||
ret short %t86
|
||||
}
|
||||
|
||||
bool %test19(int %X) {
|
||||
%Y = cast int %X to long
|
||||
%Z = setlt long %Y, 12345
|
||||
ret bool %Z
|
||||
}
|
||||
|
||||
bool %test20(bool %B) {
|
||||
%C = cast bool %B to int
|
||||
%D = setlt int %C, -1
|
||||
ret bool %D ;; false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user