mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-01 04:29:57 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222005 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
406 B
LLVM
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> %tmp1, zeroinitializer
|
|
; 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
|
|
}
|