Address issues found by Duncan during post-commit review of r177856.
[oota-llvm.git] / test / Transforms / InstCombine / 2006-12-01-BadFPVectorXform.ll
1 ; RUN: opt < %s -instcombine -S | grep sub
2 ; RUN: opt < %s -instcombine -S | grep add
3
4 define <4 x float> @test(<4 x float> %tmp26, <4 x float> %tmp53) {
5         ; (X+Y)-Y != X for fp vectors.
6         %tmp64 = fadd <4 x float> %tmp26, %tmp53         ; <<4 x float>> [#uses=1]
7         %tmp75 = fsub <4 x float> %tmp64, %tmp53         ; <<4 x float>> [#uses=1]
8         ret <4 x float> %tmp75
9 }