Add testcases for simple things we can handle that occur now in vortex.

llvm-svn: 18837
This commit is contained in:
Chris Lattner 2004-12-12 21:40:22 +00:00
parent 360cda5ffd
commit 9803a0a575
2 changed files with 12 additions and 0 deletions

View File

@ -55,3 +55,9 @@ bool %test9(ubyte %A) {
ret bool %C
}
uint %test10(uint %X, bool %C) {
%V = select bool %C, uint 64, uint 8
%R = div uint %X, %V
ret uint %R
}

View File

@ -25,3 +25,9 @@ bool %test3(int %A) {
%C = setne int %B, 0
ret bool %C
}
uint %test4(uint %X, bool %C) {
%V = select bool %C, uint 1, uint 8
%R = rem uint %X, %V
ret uint %R
}