aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/Reassociate/2006-04-27-ReassociateVector.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/Reassociate/2006-04-27-ReassociateVector.ll b/test/Transforms/Reassociate/2006-04-27-ReassociateVector.ll
new file mode 100644
index 0000000000..30c8426b4d
--- /dev/null
+++ b/test/Transforms/Reassociate/2006-04-27-ReassociateVector.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | opt -reassociate -disable-output
+
+void %foo() {
+ %tmp162 = sub <4 x float> zeroinitializer, zeroinitializer
+ %tmp164 = mul <4 x float> zeroinitializer, %tmp162
+ ret void
+}