1 ; RUN: opt < %s -S -early-cse | FileCheck %s
2 ; RUN: opt < %s -S -basicaa -early-cse-memssa | FileCheck %s
4 ; Ensure we don't simplify away additions vectors of +0.0's (same as scalars).
5 define <4 x float> @fV( <4 x float> %a) {
6 ; CHECK: %b = fadd <4 x float> %a, zeroinitializer
7 %b = fadd <4 x float> %a, <float 0.0,float 0.0,float 0.0,float 0.0>
11 define <4 x float> @fW( <4 x float> %a) {
12 ; CHECK: ret <4 x float> %a
13 %b = fadd <4 x float> %a, <float -0.0,float -0.0,float -0.0,float -0.0>