OSDN Git Service

New testcase
authorChris Lattner <sabre@nondot.org>
Tue, 28 Sep 2004 18:21:01 +0000 (18:21 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 28 Sep 2004 18:21:01 +0000 (18:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16548 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/div.ll

index 52511a7..19e0d40 100644 (file)
@@ -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
+}