1 ; With reassociation, constant folding can eliminate the +/- 30 constants.
3 ; RUN: if as < %s | opt -reassociate -constprop -instcombine -die | dis | grep 30
8 int "test"(int %reg109, int %reg1111) {
9 %reg115 = add int %reg109, -30 ; <int> [#uses=1]
10 %reg116 = add int %reg115, %reg1111 ; <int> [#uses=1]
11 %reg117 = add int %reg116, 30 ; <int> [#uses=1]