New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-11-13 19:49:39 +00:00
parent f17ffcce18
commit 706759e8c9
2 changed files with 16 additions and 0 deletions

View File

@ -169,3 +169,11 @@ int %test24(int %A) {
%D = sub int %C, 2
ret int %D ;; A << 1
}
long %test25(long %Y) {
%tmp.4 = shl long %Y, ubyte 2
%tmp.12 = shl long %Y, ubyte 2
%tmp.8 = add long %tmp.4, %tmp.12 ;; Y << 3
ret long %tmp.8
}

View File

@ -111,3 +111,11 @@ int %test17(int %A) {
%C = div int %B, 1234
ret int %C
}
long %test18(long %Y) {
%tmp.4 = shl long %Y, ubyte 2
%tmp.12 = shl long %Y, ubyte 2
%tmp.8 = sub long %tmp.4, %tmp.12 ;; 0
ret long %tmp.8
}