[llvm] r230386 - Added test case for PR22678 (check CONCAT_VECTORS DAG combiner pass doesn't introduce illegal types)

Simon Pilgrim llvm-dev at redking.me.uk
Tue Feb 24 13:46:24 PST 2015


Author: rksimon
Date: Tue Feb 24 15:46:23 2015
New Revision: 230386

URL: http://llvm.org/viewvc/llvm-project?rev=230386&view=rev
Log:
Added test case for PR22678 (check CONCAT_VECTORS DAG combiner pass doesn't introduce illegal types)

Modified:
    llvm/trunk/test/CodeGen/ARM/vector-DAGCombine.ll

Modified: llvm/trunk/test/CodeGen/ARM/vector-DAGCombine.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/vector-DAGCombine.ll?rev=230386&r1=230385&r2=230386&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/vector-DAGCombine.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/vector-DAGCombine.ll Tue Feb 24 15:46:23 2015
@@ -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:





More information about the llvm-commits mailing list