1 ; This should be one add and two multiplies.
3 ; RUN: llvm-as < %s | opt -reassociate -instcombine | llvm-dis | grep mul | wc -l | grep 2 &&
4 ; RUN: llvm-as < %s | opt -reassociate -instcombine | llvm-dis | grep add | wc -l | grep 1
6 int %test(int %A, int %B, int %C) {
11 %aac = mul int %ac, %A
12 %r = add int %aab, %aac