From ca089b24d48ef6fa8da2d0bb8c25bb802c4a95c0 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Thu, 13 Jul 2017 19:25:18 +0000 Subject: Vendor import of llvm trunk r307894: https://llvm.org/svn/llvm-project/llvm/trunk@307894 --- test/CodeGen/PowerPC/PR33636.ll | 702 +++++++++++++++++++++ test/CodeGen/PowerPC/atomics-regression.ll | 528 ++++++++-------- test/CodeGen/PowerPC/bitreverse.ll | 23 - test/CodeGen/PowerPC/build-vector-tests.ll | 4 +- test/CodeGen/PowerPC/ppc-ctr-dead-code.ll | 38 ++ test/CodeGen/PowerPC/ppc-redzone-alignment-bug.ll | 32 + test/CodeGen/PowerPC/ppc64le-smallarg.ll | 4 +- test/CodeGen/PowerPC/pr33093.ll | 165 +++++ test/CodeGen/PowerPC/select-addrRegRegOnly.ll | 37 ++ test/CodeGen/PowerPC/svr4-redzone.ll | 6 +- test/CodeGen/PowerPC/tailcall1-64.ll | 7 +- test/CodeGen/PowerPC/testBitReverse.ll | 105 +++ test/CodeGen/PowerPC/vec_extract_p9.ll | 167 +++++ test/CodeGen/PowerPC/vec_int_ext.ll | 253 +++++++- .../PowerPC/vsx-partword-int-loads-and-stores.ll | 16 +- 15 files changed, 1755 insertions(+), 332 deletions(-) create mode 100644 test/CodeGen/PowerPC/PR33636.ll delete mode 100644 test/CodeGen/PowerPC/bitreverse.ll create mode 100644 test/CodeGen/PowerPC/ppc-ctr-dead-code.ll create mode 100644 test/CodeGen/PowerPC/ppc-redzone-alignment-bug.ll create mode 100644 test/CodeGen/PowerPC/pr33093.ll create mode 100644 test/CodeGen/PowerPC/select-addrRegRegOnly.ll create mode 100644 test/CodeGen/PowerPC/testBitReverse.ll create mode 100644 test/CodeGen/PowerPC/vec_extract_p9.ll (limited to 'test/CodeGen/PowerPC') diff --git a/test/CodeGen/PowerPC/PR33636.ll b/test/CodeGen/PowerPC/PR33636.ll new file mode 100644 index 000000000000..4a1216dd4c11 --- /dev/null +++ b/test/CodeGen/PowerPC/PR33636.ll @@ -0,0 +1,702 @@ +; Just a test case for a crash reported in +; https://bugs.llvm.org/show_bug.cgi?id=33636 +; RUN: llc -mtriple=powerpc64le-unknown-unknown -mcpu=pwr8 < %s | FileCheck %s +@g_225 = external unnamed_addr global i16, align 2 +@g_756 = external global [6 x i32], align 4 +@g_3456 = external global i32, align 4 +@g_3708 = external global [9 x i32], align 4 +@g_1252 = external global i8*, align 8 +@g_3043 = external global float*, align 8 + +; Function Attrs: nounwind +define void @main() { + br i1 undef, label %1, label %4 + +;