aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-28 18:21:01 +0000
committerChris Lattner <sabre@nondot.org>2004-09-28 18:21:01 +0000
commit46c4dcde4467ae2563f5f2969d23f9bb7661bf07 (patch)
treeaf903007de83336376a4f8eca993fb3a888956c9 /test
parent59359f1e84418d282c996af2bf199d6b4188ab86 (diff)
downloadexternal_llvm-46c4dcde4467ae2563f5f2969d23f9bb7661bf07.zip
external_llvm-46c4dcde4467ae2563f5f2969d23f9bb7661bf07.tar.gz
external_llvm-46c4dcde4467ae2563f5f2969d23f9bb7661bf07.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/InstCombine/div.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/div.ll b/test/Transforms/InstCombine/div.ll
index 52511a7..19e0d40 100644
--- a/test/Transforms/InstCombine/div.ll
+++ b/test/Transforms/InstCombine/div.ll
@@ -24,3 +24,9 @@ int %test4(int %A) {
%B = div int %A, -1 ; 0-A
ret int %B
}
+
+uint %test5(uint %A) {
+ %B = div uint %A, 4294967280
+ %C = div uint %B, 4294967292
+ ret uint %C
+}