From 9290885e6a20c55395aedc15a97fa2a2a692ba13 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 26 Oct 2006 18:26:53 +0000 Subject: [PATCH] new testcase, should not reassoc fp vector git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31199 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll diff --git a/test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll b/test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll new file mode 100644 index 00000000000..cf68f63e686 --- /dev/null +++ b/test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep mul | wc -l | grep 2 + + +<4 x float> %test(<4 x float> %V) { + %Y = mul <4 x float> %V, + %Z = mul <4 x float> %Y, + ret <4 x float> %Z +}