1 ; This is a basic sanity check for constant propogation. It tests the basic
2 ; arithmatic operations.
5 ; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep mul
6 ; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep umod
8 define i128 @test(i1 %B) {
9 br i1 %B, label %BB1, label %BB2
13 %t3 = mul i128 %t2, -1
18 %f3 = urem i128 %f2, 2121
21 %Ret = phi i128 [%t3, %BB1], [%f3, %BB2]