1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test/Transforms/Reassociate/2006-04-27-ReassociateVector.ll
2014-06-11 18:28:45 +00:00

13 lines
406 B
LLVM

; RUN: opt < %s -reassociate -S | FileCheck %s
define <4 x float> @test1() {
; CHECK-LABEL: test1
; CHECK-NEXT: %tmp1 = fsub <4 x float> zeroinitializer, zeroinitializer
; CHECK-NEXT: %tmp2 = fmul <4 x float> zeroinitializer, %tmp1
; CHECK-NEXT: ret <4 x float> %tmp2
%tmp1 = fsub <4 x float> zeroinitializer, zeroinitializer
%tmp2 = fmul <4 x float> zeroinitializer, %tmp1
ret <4 x float> %tmp2
}