From 06418c5610963a12c9dd19a62794769e48620fb2 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 4 Feb 2008 18:05:42 +0000 Subject: [PATCH] Crashes LegalizeTypes with "Do not know how to split this operator's operand" (node: extract_subvector). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46712 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../CodeGen/Generic/2008-02-04-ExtractSubvector.ll | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/CodeGen/Generic/2008-02-04-ExtractSubvector.ll diff --git a/test/CodeGen/Generic/2008-02-04-ExtractSubvector.ll b/test/CodeGen/Generic/2008-02-04-ExtractSubvector.ll new file mode 100644 index 00000000000..1cf822b7119 --- /dev/null +++ b/test/CodeGen/Generic/2008-02-04-ExtractSubvector.ll @@ -0,0 +1,14 @@ +; RUN: llvm-as < %s | llc + +define i32 @main() nounwind { +entry: + br label %bb15 + +bb15: ; preds = %bb15, %entry + %tmp21 = add <8 x double> zeroinitializer, zeroinitializer ; <<8 x double>> [#uses=1] + br i1 false, label %bb30, label %bb15 + +bb30: ; preds = %bb15 + store <8 x double> %tmp21, <8 x double>* null, align 64 + ret i32 0 +}