mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
48 lines
1.8 KiB
LLVM
48 lines
1.8 KiB
LLVM
|
; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon
|
||
|
; Bug: i8 type in FRP8 register but not registering with register class causes segmentation fault.
|
||
|
; Fix: Removed i8 type from FPR8 register class.
|
||
|
|
||
|
define void @test_concatvector_v8i8() {
|
||
|
entry.split:
|
||
|
br i1 undef, label %if.then, label %if.end
|
||
|
|
||
|
if.then: ; preds = %entry.split
|
||
|
unreachable
|
||
|
|
||
|
if.end: ; preds = %entry.split
|
||
|
br i1 undef, label %if.then9, label %if.end18
|
||
|
|
||
|
if.then9: ; preds = %if.end
|
||
|
unreachable
|
||
|
|
||
|
if.end18: ; preds = %if.end
|
||
|
br label %for.body
|
||
|
|
||
|
for.body: ; preds = %for.inc, %if.end18
|
||
|
br i1 false, label %if.then30, label %for.inc
|
||
|
|
||
|
if.then30: ; preds = %for.body
|
||
|
unreachable
|
||
|
|
||
|
for.inc: ; preds = %for.body
|
||
|
br i1 undef, label %for.end, label %for.body
|
||
|
|
||
|
for.end: ; preds = %for.inc
|
||
|
br label %for.body77
|
||
|
|
||
|
for.body77: ; preds = %for.body77, %for.end
|
||
|
br i1 undef, label %for.end106, label %for.body77
|
||
|
|
||
|
for.end106: ; preds = %for.body77
|
||
|
br i1 undef, label %for.body130.us.us, label %stmt.for.body130.us.us
|
||
|
|
||
|
stmt.for.body130.us.us: ; preds = %stmt.for.body130.us.us, %for.end106
|
||
|
%_p_splat.us = shufflevector <1 x i8> zeroinitializer, <1 x i8> undef, <8 x i32> zeroinitializer
|
||
|
store <8 x i8> %_p_splat.us, <8 x i8>* undef, align 1
|
||
|
br label %stmt.for.body130.us.us
|
||
|
|
||
|
for.body130.us.us: ; preds = %for.body130.us.us, %for.end106
|
||
|
br label %for.body130.us.us
|
||
|
}
|
||
|
|