1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen/PowerPC/bv-widen-undef.ll
Ehsan Amiri db43217a24 Adding -verify-machineinstrs option to PowerPC tests
Currently we have a number of tests that fail with -verify-machineinstrs.
To detect this cases earlier we add the option to the testcases with the
exception of tests that will currently fail with this option. PR 27456 keeps
track of this failures.

No code review, as discussed with Hal Finkel.

llvm-svn: 277624
2016-08-03 18:17:35 +00:00

24 lines
921 B
LLVM

; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s
target triple = "powerpc64-unknown-linux-gnu"
define void @autogen_SD4357(i8) {
BB:
br label %CF
CF: ; preds = %CF, %BB
br i1 undef, label %CF, label %CF77
CF77: ; preds = %CF81, %CF77, %CF
%Shuff12 = shufflevector <2 x i8> <i8 -1, i8 -1>, <2 x i8> <i8 -1, i8 -1>, <2 x i32> <i32 0, i32 undef>
br i1 undef, label %CF77, label %CF80
CF80: ; preds = %CF80, %CF77
%B21 = mul <2 x i8> %Shuff12, <i8 -1, i8 -1>
%Cmp24 = fcmp une ppc_fp128 0xM00000000000000000000000000000000, 0xM00000000000000000000000000000000
br i1 %Cmp24, label %CF80, label %CF81
CF81: ; preds = %CF80
%I36 = insertelement <2 x i8> %B21, i8 %0, i32 0
br label %CF77
}