; With sub reassociation, constant folding can eliminate the 12 and -12 constants.;; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep 12int"test"(int%A,int%B){%X=addint-12,%A%Y=subint%X,%B%Z=addint%Y,12retint%Z}