Added test case for PR22678 (check CONCAT_VECTORS DAG combiner pass doesn't introduce...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 24 Feb 2015 21:46:23 +0000 (21:46 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 24 Feb 2015 21:46:23 +0000 (21:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230386 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/vector-DAGCombine.ll

index 759da2235e41e47e8448a6f18f33a9dd0ee472cf..566e955af2b142feda68263e97a8f921d7e1bce9 100644 (file)
@@ -27,6 +27,14 @@ entry:
   ret void
 }
 
+; PR22678
+; Check CONCAT_VECTORS DAG combiner pass doesn't introduce illegal types.
+define void @test_pr22678() {
+  %1 = fptoui <16 x float> undef to <16 x i8>
+  store <16 x i8> %1, <16 x i8>* undef
+  ret void
+}
+
 ; Radar 8407927: Make sure that VMOVRRD gets optimized away when the result is
 ; converted back to be used as a vector type.
 ; CHECK-LABEL: test_vmovrrd_combine: