mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Testcases missed by the instruction combiner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -103,3 +103,17 @@ bool %test16(int* %P) {
|
|||||||
%c = cast int* %P to bool ;; setne P, null
|
%c = cast int* %P to bool ;; setne P, null
|
||||||
ret bool %c
|
ret bool %c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
short %test17(bool %tmp3) {
|
||||||
|
%c = cast bool %tmp3 to int
|
||||||
|
%t86 = cast int %c to short
|
||||||
|
ret short %t86
|
||||||
|
}
|
||||||
|
|
||||||
|
short %test18(sbyte %tmp3) {
|
||||||
|
%c = cast sbyte %tmp3 to int
|
||||||
|
%t86 = cast int %c to short
|
||||||
|
ret short %t86
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user