Imported Upstream version 5.18.0.205

Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-11-16 08:20:38 +00:00
parent 5cd5df71cc
commit 8e12397d70
28486 changed files with 3867013 additions and 66 deletions

View File

@@ -0,0 +1,18 @@
; RUN: llc -mtriple=s390x-linux-gnu -mcpu=zEC12 < %s | FileCheck %s
;
; Check that DAGCombiner doesn't crash in SystemZ combineTruncateExtract()
; when handling EXTRACT_VECTOR_ELT without vector support.
define void @autogen_SD21598(<2 x i8> %Arg) {
; CHECK: stc %r3, 0(%r1)
; CHECK: j .LBB0_1
entry:
br label %loop
loop: ; preds = %CF249, %CF247
%Shuff = shufflevector <2 x i8> undef, <2 x i8> %Arg, <2 x i32> <i32 3, i32 1>
%E = extractelement <2 x i8> %Shuff, i32 0
store i8 %E, i8* undef
br label %loop
}