Fix the list of patches

This commit is contained in:
Sylvestre Ledru 2018-12-10 11:17:06 +01:00
parent e9e411ec79
commit 9a74fca68b
9 changed files with 104 additions and 272 deletions

View File

@ -1,74 +0,0 @@
r345104 | rnk | 2018-10-24 01:35:43 +0200 (mer. 24 oct. 2018) | 25 lignes
[hurd] Make getMainExecutable get the real binary path
On GNU/Hurd, llvm-config is returning bogus value, such as:
$ llvm-config-6.0 --includedir
/usr/include
while it should be:
$ llvm-config-6.0 --includedir
/usr/lib/llvm-6.0/include
This is because getMainExecutable does not get the actual installation
path. On GNU/Hurd, /proc/self/exe is indeed a symlink to the path that
was used to start the program, and not the eventual binary file. Llvm's
getMainExecutable thus needs to run realpath over it to get the actual
place where llvm was installed (/usr/lib/llvm-6.0/bin/llvm-config), and
not /usr/bin/llvm-config-6.0. This will not change the result on Linux,
where /proc/self/exe already points to the eventual file.
Patch by Samuel Thibault!
While making changes here, I reformatted this block a bit to reduce
indentation and match 2 space indent style.
Differential Revision: https://reviews.llvm.org/D53557
Index: llvm-toolchain-6.0-6.0.1/lib/Support/Unix/Path.inc
===================================================================
--- llvm-toolchain-6.0-6.0.1.orig/lib/Support/Unix/Path.inc
+++ llvm-toolchain-6.0-6.0.1/lib/Support/Unix/Path.inc
@@ -191,14 +191,34 @@ std::string getMainExecutable(const char
char exe_path[MAXPATHLEN];
StringRef aPath("/proc/self/exe");
if (sys::fs::exists(aPath)) {
- // /proc is not always mounted under Linux (chroot for example).
- ssize_t len = readlink(aPath.str().c_str(), exe_path, sizeof(exe_path));
- if (len >= 0)
- return std::string(exe_path, len);
+ // /proc is not always mounted under Linux (chroot for example).
+ ssize_t len = readlink(aPath.str().c_str(), exe_path, sizeof(exe_path));
+ if (len < 0)
+ return "";
+
+ // Null terminate the string for realpath. readlink never null
+ // terminates its output.
+ len = std::min(len, ssize_t(sizeof(exe_path) - 1));
+ exe_path[len] = '\0';
+
+ // At least on GNU/Hurd, /proc/self/exe is a symlink to the path that
+ // was used to start the program, and not the eventual binary file.
+ // We thus needs to run realpath over it to get the actual place
+ // where llvm was installed.
+#if _POSIX_VERSION >= 200112 || defined(__GLIBC__)
+ char *real_path = realpath(exe_path, NULL);
+ std::string ret = std::string(real_path);
+ free(real_path);
+ return ret;
+#else
+ char real_path[MAXPATHLEN];
+ realpath(exe_path, real_path);
+ return std::string(real_path);
+#endif
} else {
- // Fall back to the classical detection.
- if (getprogpath(exe_path, argv0))
- return exe_path;
+ // Fall back to the classical detection.
+ if (getprogpath(exe_path, argv0))
+ return exe_path;
}
#elif defined(HAVE_DLFCN_H) && defined(HAVE_DLADDR)
// Use dladdr to get executable path if available.

View File

@ -3,9 +3,11 @@ Author: Justin Hibbits <jrh29@alumni.cwru.edu>
Origin: https://reviews.llvm.org/D54583
Last-Update: 2018-12-04
--- llvm-toolchain-7-7.0.1~+rc2.orig/lib/Target/PowerPC/PPCISelLowering.cpp
+++ llvm-toolchain-7-7.0.1~+rc2/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -389,8 +389,16 @@ PPCTargetLowering::PPCTargetLowering(con
Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.cpp
===================================================================
--- llvm-toolchain-snapshot_8~svn348749.orig/lib/Target/PowerPC/PPCISelLowering.cpp
+++ llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -391,8 +391,16 @@ PPCTargetLowering::PPCTargetLowering(con
} else {
setOperationAction(ISD::BITCAST, MVT::f32, Expand);
setOperationAction(ISD::BITCAST, MVT::i32, Expand);
@ -23,17 +25,17 @@ Last-Update: 2018-12-04
}
// We cannot sextinreg(i1). Expand to shifts.
@@ -1355,6 +1363,9 @@ const char *PPCTargetLowering::getTarget
case PPCISD::QBFLT: return "PPCISD::QBFLT";
@@ -1351,6 +1359,9 @@ const char *PPCTargetLowering::getTarget
case PPCISD::QVLFSb: return "PPCISD::QVLFSb";
case PPCISD::BUILD_FP128: return "PPCISD::BUILD_FP128";
case PPCISD::EXTSWSLI: return "PPCISD::EXTSWSLI";
+ case PPCISD::BUILD_SPE64: return "PPCISD::BUILD_SPE64";
+ case PPCISD::EXTRACT_SPE_LO: return "PPCISD::EXTRACT_SPE_LO";
+ case PPCISD::EXTRACT_SPE_HI: return "PPCISD::EXTRACT_SPE_HI";
}
return nullptr;
}
@@ -7764,6 +7775,15 @@ SDValue PPCTargetLowering::LowerBITCAST(
@@ -7859,6 +7870,15 @@ SDValue PPCTargetLowering::LowerBITCAST(
SDLoc dl(Op);
SDValue Op0 = Op->getOperand(0);
@ -49,7 +51,7 @@ Last-Update: 2018-12-04
if (!EnableQuadPrecision ||
(Op.getValueType() != MVT::f128 ) ||
(Op0.getOpcode() != ISD::BUILD_PAIR) ||
@@ -7775,6 +7795,26 @@ SDValue PPCTargetLowering::LowerBITCAST(
@@ -7870,6 +7890,26 @@ SDValue PPCTargetLowering::LowerBITCAST(
Op0.getOperand(1));
}
@ -76,7 +78,7 @@ Last-Update: 2018-12-04
// If this is a case we can't handle, return null and let the default
// expansion code take care of it. If we CAN select this case, and if it
// selects to a single instruction, return Op. Otherwise, if we can codegen
@@ -9584,6 +9624,8 @@ SDValue PPCTargetLowering::LowerOperatio
@@ -9643,6 +9683,8 @@ SDValue PPCTargetLowering::LowerOperatio
return LowerBSWAP(Op, DAG);
case ISD::ATOMIC_CMP_SWAP:
return LowerATOMIC_CMP_SWAP(Op, DAG);
@ -85,18 +87,20 @@ Last-Update: 2018-12-04
}
}
@@ -9641,6 +9683,8 @@ void PPCTargetLowering::ReplaceNodeResul
return;
Results.push_back(LowerFP_TO_INT(SDValue(N, 0), DAG, dl));
@@ -9703,6 +9745,8 @@ void PPCTargetLowering::ReplaceNodeResul
case ISD::BITCAST:
// Don't handle bitcast here.
return;
+ case ISD::BITCAST:
+ return;
}
}
--- llvm-toolchain-7-7.0.1~+rc2.orig/lib/Target/PowerPC/PPCISelLowering.h
+++ llvm-toolchain-7-7.0.1~+rc2/lib/Target/PowerPC/PPCISelLowering.h
@@ -192,6 +192,15 @@ namespace llvm {
Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.h
===================================================================
--- llvm-toolchain-snapshot_8~svn348749.orig/lib/Target/PowerPC/PPCISelLowering.h
+++ llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCISelLowering.h
@@ -196,6 +196,15 @@ namespace llvm {
/// Direct move of 2 consective GPR to a VSX register.
BUILD_FP128,
@ -112,7 +116,7 @@ Last-Update: 2018-12-04
/// Extract a subvector from signed integer vector and convert to FP.
/// It is primarily used to convert a (widened) illegal integer vector
/// type to a legal floating point vector type.
@@ -1079,6 +1088,7 @@ namespace llvm {
@@ -1089,6 +1098,7 @@ namespace llvm {
SDValue lowerEH_SJLJ_SETJMP(SDValue Op, SelectionDAG &DAG) const;
SDValue lowerEH_SJLJ_LONGJMP(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerBITCAST(SDValue Op, SelectionDAG &DAG) const;
@ -120,9 +124,11 @@ Last-Update: 2018-12-04
SDValue DAGCombineExtBoolTrunc(SDNode *N, DAGCombinerInfo &DCI) const;
SDValue DAGCombineBuildVector(SDNode *N, DAGCombinerInfo &DCI) const;
--- llvm-toolchain-7-7.0.1~+rc2.orig/lib/Target/PowerPC/PPCInstrInfo.td
+++ llvm-toolchain-7-7.0.1~+rc2/lib/Target/PowerPC/PPCInstrInfo.td
@@ -225,6 +225,22 @@ def PPCbuild_fp128: SDNode<"PPCISD::BUIL
Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrInfo.td
===================================================================
--- llvm-toolchain-snapshot_8~svn348749.orig/lib/Target/PowerPC/PPCInstrInfo.td
+++ llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrInfo.td
@@ -231,6 +231,22 @@ def PPCbuild_fp128: SDNode<"PPCISD::BUIL
SDTCisSameAs<1,2>]>,
[]>;
@ -145,8 +151,10 @@ Last-Update: 2018-12-04
// These are target-independent nodes, but have target-specific formats.
def callseq_start : SDNode<"ISD::CALLSEQ_START", SDT_PPCCallSeqStart,
[SDNPHasChain, SDNPOutGlue]>;
--- llvm-toolchain-7-7.0.1~+rc2.orig/lib/Target/PowerPC/PPCInstrSPE.td
+++ llvm-toolchain-7-7.0.1~+rc2/lib/Target/PowerPC/PPCInstrSPE.td
Index: llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrSPE.td
===================================================================
--- llvm-toolchain-snapshot_8~svn348749.orig/lib/Target/PowerPC/PPCInstrSPE.td
+++ llvm-toolchain-snapshot_8~svn348749/lib/Target/PowerPC/PPCInstrSPE.td
@@ -512,7 +512,7 @@ def EVLWWSPLATX : EVXForm_1<792, (out
def EVMERGEHI : EVXForm_1<556, (outs sperc:$RT), (ins sperc:$RA, sperc:$RB),
@ -172,8 +180,10 @@ Last-Update: 2018-12-04
+ (i32 (EXTRACT_SUBREG $rA, sub_32))>;
+
}
--- llvm-toolchain-7-7.0.1~+rc2.orig/test/CodeGen/PowerPC/spe.ll
+++ llvm-toolchain-7-7.0.1~+rc2/test/CodeGen/PowerPC/spe.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/CodeGen/PowerPC/spe.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn348749.orig/test/CodeGen/PowerPC/spe.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/CodeGen/PowerPC/spe.ll
@@ -472,10 +472,8 @@ entry:
; CHECK-LABEL: test_dselect
; CHECK: andi.

View File

@ -1,43 +0,0 @@
Index: llvm-toolchain-7-7/lib/Support/Unix/Path.inc
===================================================================
--- llvm-toolchain-7-7.orig/lib/Support/Unix/Path.inc
+++ llvm-toolchain-7-7/lib/Support/Unix/Path.inc
@@ -83,7 +83,7 @@
#define STATVFS_F_FRSIZE(vfs) static_cast<uint64_t>(vfs.f_bsize)
#endif
-#if defined(__NetBSD__)
+#if defined(__NetBSD__) || defined(__GNU__)
#define STATVFS_F_FLAG(vfs) (vfs).f_flag
#else
#define STATVFS_F_FLAG(vfs) (vfs).f_flags
@@ -99,7 +99,7 @@ const file_t kInvalidFile = -1;
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
defined(__minix) || defined(__FreeBSD_kernel__) || defined(__linux__) || \
- defined(__CYGWIN__) || defined(__DragonFly__) || defined(_AIX)
+ defined(__CYGWIN__) || defined(__DragonFly__) || defined(_AIX) || defined(__GNU__)
static int
test_dir(char ret[PATH_MAX], const char *dir, const char *bin)
{
@@ -348,7 +348,7 @@ std::error_code remove(const Twine &path
}
static bool is_local_impl(struct STATVFS &Vfs) {
-#if defined(__linux__)
+#if defined(__linux__) || defined(__GNU__)
#ifndef NFS_SUPER_MAGIC
#define NFS_SUPER_MAGIC 0x6969
#endif
@@ -358,7 +358,11 @@ static bool is_local_impl(struct STATVFS
#ifndef CIFS_MAGIC_NUMBER
#define CIFS_MAGIC_NUMBER 0xFF534D42
#endif
+#ifdef __GNU__
+ switch ((uint32_t)Vfs.__f_type) {
+#else
switch ((uint32_t)Vfs.f_type) {
+#endif
case NFS_SUPER_MAGIC:
case SMB_SUPER_MAGIC:
case CIFS_MAGIC_NUMBER:

View File

@ -1,12 +0,0 @@
Index: llvm-toolchain-7-7/tools/llvm-shlib/CMakeLists.txt
===================================================================
--- llvm-toolchain-7-7.orig/tools/llvm-shlib/CMakeLists.txt
+++ llvm-toolchain-7-7/tools/llvm-shlib/CMakeLists.txt
@@ -40,6 +40,7 @@ set_property(TARGET LLVM PROPERTY VERSIO
list(REMOVE_DUPLICATES LIB_NAMES)
if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU)
OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
+ OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "GNU")
OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD")
OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")
OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-snapshot_7~svn334230/lib/Support/Unix/Path.inc
Index: llvm-toolchain-snapshot_8~svn348749/lib/Support/Unix/Path.inc
===================================================================
--- llvm-toolchain-snapshot_7~svn334230.orig/lib/Support/Unix/Path.inc
+++ llvm-toolchain-snapshot_7~svn334230/lib/Support/Unix/Path.inc
@@ -175,7 +175,7 @@ std::string getMainExecutable(const char
--- llvm-toolchain-snapshot_8~svn348749.orig/lib/Support/Unix/Path.inc
+++ llvm-toolchain-snapshot_8~svn348749/lib/Support/Unix/Path.inc
@@ -177,7 +177,7 @@ std::string getMainExecutable(const char
if (getprogpath(exe_path, argv0) != NULL)
return exe_path;

View File

@ -1,29 +0,0 @@
Index: llvm-toolchain-7-7/include/llvm/ADT/Optional.h
===================================================================
--- llvm-toolchain-7-7.orig/include/llvm/ADT/Optional.h
+++ llvm-toolchain-7-7/include/llvm/ADT/Optional.h
@@ -108,24 +108,6 @@ template <typename T, bool IsPodLike> st
}
};
-#if !defined(__GNUC__) || defined(__clang__) // GCC up to GCC7 miscompiles this.
-/// Storage for trivially copyable types only.
-template <typename T> struct OptionalStorage<T, true> {
- AlignedCharArrayUnion<T> storage;
- bool hasVal = false;
-
- OptionalStorage() = default;
-
- OptionalStorage(const T &y) : hasVal(true) { new (storage.buffer) T(y); }
- OptionalStorage &operator=(const T &y) {
- *reinterpret_cast<T *>(storage.buffer) = y;
- hasVal = true;
- return *this;
- }
-
- void reset() { hasVal = false; }
-};
-#endif
} // namespace optional_detail
template <typename T> class Optional {

20
debian/patches/series vendored
View File

@ -16,7 +16,6 @@ atomic_library_1.diff
python-clangpath.diff
fix-clang-path-and-build.diff
0048-Set-html_static_path-_static-everywhere.patch
x32-fix-driver-search-paths.diff
symbolizer-path.diff
clang-tidy-run-bin.diff
0001-tools-clang-cmake-resolve-symlinks-in-ClangConfig.cmake.patch
@ -60,7 +59,6 @@ scan-build-clang-path.diff
install-scan-build-py.diff
scan-view-fix-path.diff
fix-scan-view-path.diff
scan-build-clang-X.diff
# lldb
lldb-link-atomic-cmake.patch
@ -85,9 +83,6 @@ libcxx-silent-test-libcxx.diff
libcxx-silent-failure-ppc64el.diff
libcxx-silent-failure-arm64.diff
# Rust on ppc
D51108-rust-powerpc.diff
# Change default optims
mips-fpxx-enable.diff
26-set-correct-float-abi.diff
@ -98,10 +93,6 @@ clang-arm-default-vfp3-on-armv7a.patch
# For the boostrap
bootstrap-fix-include-next.diff
clangd-atomic-cmake.patch
pr39427-misscompile.diff
# Rustc
rustc-aarch64-test-failure.diff
# Fix docs
remove-apple-clang-manpage.diff
@ -114,20 +105,9 @@ reproducible-pch.diff
hurd-pathmax.diff
hurd-EIEIO-undef.diff
impl-path-hurd.diff
hurd-lib_Support_Unix_Path.inc.diff
hurd-tools_llvm-shlib_CMakeLists.txt.diff
D54079-hurd-openmp.diff
D54338-hurd-libcxx-threads-build.diff
D54339-hurd-libcxx-threads-detection.diff
D54378-hurd-triple.diff
D54677-hurd-path_max.diff
D53557-hurd-self-exe-realpath.diff
# mips
strip-ignore-deterministic-archives.diff
# powerpcspe
powerpcspe-add-missing-include-path.diff
D49754-powerpcspe-clang.diff
D54409-powerpcspe-register-spilling.diff
D54584-powerpcspe-double-parameter.diff

View File

@ -18,34 +18,34 @@
test/Feature/load_module.ll | 1 -
17 files changed, 14 insertions(+), 17 deletions(-)
Index: llvm-toolchain-snapshot_8~svn339515/test/BugPoint/crash-narrowfunctiontest.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/BugPoint/crash-narrowfunctiontest.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/BugPoint/crash-narrowfunctiontest.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/BugPoint/crash-narrowfunctiontest.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/BugPoint/crash-narrowfunctiontest.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/BugPoint/crash-narrowfunctiontest.ll
@@ -2,7 +2,6 @@
;
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls --opt-command opt -silence-passes > /dev/null
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
; REQUIRES: loadable_module
-; XFAIL: *
define i32 @foo() { ret i32 1 }
Index: llvm-toolchain-snapshot_8~svn339515/test/BugPoint/remove_arguments_test.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/BugPoint/remove_arguments_test.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/BugPoint/remove_arguments_test.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/BugPoint/remove_arguments_test.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/BugPoint/remove_arguments_test.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/BugPoint/remove_arguments_test.ll
@@ -1,7 +1,6 @@
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes --opt-command opt
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
; REQUIRES: loadable_module
-; XFAIL: *
; Test to make sure that arguments are removed from the function if they are
; unnecessary. And clean up any types that frees up too.
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
@@ -1,5 +1,5 @@
; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll -relocation-model=pic -code-model=small %s > /dev/null
-; XFAIL: mips-, mipsel-, i686, i386
@ -53,10 +53,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/cross-modu
declare i32 @FB()
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/eh-lg-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/eh-lg-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/MCJIT/eh-lg-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/eh-lg-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/MCJIT/eh-lg-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/eh-lg-pic.ll
@@ -1,6 +1,6 @@
; REQUIRES: cxx-shared-library
; RUN: %lli -relocation-model=pic -code-model=large %s
@ -65,10 +65,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/eh-lg-pic.
declare i8* @__cxa_allocate_exception(i64)
declare void @__cxa_throw(i8*, i8*, i8*)
declare i32 @__gxx_personality_v0(...)
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
@@ -1,5 +1,5 @@
; RUN: %lli -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -relocation-model=pic -code-model=small %s > /dev/null
-; XFAIL: mips-, mipsel-, i686, i386
@ -76,10 +76,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/multi-modu
declare i32 @FB()
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
@@ -1,5 +1,5 @@
; RUN: %lli -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
-; XFAIL: mips-, mipsel-, i686, i386, aarch64, arm
@ -87,10 +87,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/stubs-sm-p
define i32 @main() nounwind {
entry:
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
@@ -1,5 +1,5 @@
; RUN: %lli -relocation-model=pic -code-model=small %s > /dev/null
-; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386
@ -98,10 +98,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/test-globa
@count = global i32 1, align 4
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
@@ -1,5 +1,5 @@
; RUN: %lli -O0 -relocation-model=pic -code-model=small %s
-; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386
@ -109,10 +109,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/MCJIT/test-ptr-r
@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
@ptr = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), align 4
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll
@@ -1,5 +1,5 @@
; RUN: %lli -jit-kind=orc-mcjit -extra-module=%p/Inputs/cross-module-b.ll -relocation-model=pic -code-model=small %s > /dev/null
-; XFAIL: mips-, mipsel-, i686, i386
@ -120,10 +120,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/cross-m
declare i32 @FB()
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll
@@ -1,6 +1,6 @@
; REQUIRES: cxx-shared-library
; RUN: %lli -jit-kind=orc-mcjit -relocation-model=pic -code-model=large %s
@ -132,10 +132,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/eh-lg-p
declare i8* @__cxa_allocate_exception(i64)
declare void @__cxa_throw(i8*, i8*, i8*)
declare i32 @__gxx_personality_v0(...)
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll
@@ -1,5 +1,5 @@
; RUN: %lli -jit-kind=orc-mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -relocation-model=pic -code-model=small %s > /dev/null
-; XFAIL: mips-, mipsel-, i686, i386
@ -143,10 +143,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/multi-m
declare i32 @FB()
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll
@@ -1,6 +1,6 @@
; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext \
; RUN: -relocation-model=pic -code-model=small %s > /dev/null
@ -155,10 +155,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/remote/
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll
@@ -1,6 +1,6 @@
; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext \
; RUN: -O0 -relocation-model=pic -code-model=small %s
@ -167,10 +167,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/remote/
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll
@@ -1,5 +1,5 @@
; RUN: %lli -jit-kind=orc-mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
-; XFAIL: mips-, mipsel-, i686, i386, aarch64, arm
@ -178,10 +178,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/stubs-s
define i32 @main() nounwind {
entry:
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll
@@ -1,5 +1,5 @@
; RUN: %lli -jit-kind=orc-mcjit -relocation-model=pic -code-model=small %s > /dev/null
-; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386
@ -189,10 +189,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/test-gl
@count = global i32 1, align 4
Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll
@@ -1,5 +1,5 @@
; RUN: %lli -jit-kind=orc-mcjit -O0 -relocation-model=pic -code-model=small %s
-; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386
@ -200,10 +200,10 @@ Index: llvm-toolchain-snapshot_8~svn339515/test/ExecutionEngine/OrcMCJIT/test-pt
@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
@ptr = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), align 4
Index: llvm-toolchain-snapshot_8~svn339515/test/Feature/load_module.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/Feature/load_module.ll
===================================================================
--- llvm-toolchain-snapshot_8~svn339515.orig/test/Feature/load_module.ll
+++ llvm-toolchain-snapshot_8~svn339515/test/Feature/load_module.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/Feature/load_module.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/Feature/load_module.ll
@@ -3,7 +3,6 @@
; RUN: -disable-output 2>&1 | grep Hello
; REQUIRES: loadable_module

View File

@ -8,25 +8,25 @@
test/Feature/load_module.ll | 1 +
4 files changed, 5 insertions(+), 1 deletion(-)
Index: llvm-toolchain-snapshot_7~svn324807/test/BugPoint/crash-narrowfunctiontest.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/BugPoint/crash-narrowfunctiontest.ll
===================================================================
--- llvm-toolchain-snapshot_7~svn324807.orig/test/BugPoint/crash-narrowfunctiontest.ll
+++ llvm-toolchain-snapshot_7~svn324807/test/BugPoint/crash-narrowfunctiontest.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/BugPoint/crash-narrowfunctiontest.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/BugPoint/crash-narrowfunctiontest.ll
@@ -2,6 +2,7 @@
;
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls --opt-command opt -silence-passes > /dev/null
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
; REQUIRES: loadable_module
+; XFAIL: *
define i32 @foo() { ret i32 1 }
Index: llvm-toolchain-snapshot_7~svn324807/test/BugPoint/metadata.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/BugPoint/metadata.ll
===================================================================
--- llvm-toolchain-snapshot_7~svn324807.orig/test/BugPoint/metadata.ll
+++ llvm-toolchain-snapshot_7~svn324807/test/BugPoint/metadata.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/BugPoint/metadata.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/BugPoint/metadata.ll
@@ -7,7 +7,8 @@
;
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t-notype -bugpoint-crashcalls -silence-passes -disable-namedmd-remove -disable-strip-debuginfo --opt-command opt > /dev/null
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t-notype -bugpoint-crashcalls -silence-passes -disable-namedmd-remove -disable-strip-debuginfo > /dev/null
; RUN: llvm-dis %t-notype-reduced-simplified.bc -o - | FileCheck %s --check-prefix=NOTYPE
-;
+; XFAIL: *
@ -34,22 +34,22 @@ Index: llvm-toolchain-snapshot_7~svn324807/test/BugPoint/metadata.ll
; Bugpoint should keep the call's metadata attached to the call.
; CHECK: call void @foo(), !dbg ![[LOC:[0-9]+]], !attach ![[CALL:[0-9]+]]
Index: llvm-toolchain-snapshot_7~svn324807/test/BugPoint/remove_arguments_test.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/BugPoint/remove_arguments_test.ll
===================================================================
--- llvm-toolchain-snapshot_7~svn324807.orig/test/BugPoint/remove_arguments_test.ll
+++ llvm-toolchain-snapshot_7~svn324807/test/BugPoint/remove_arguments_test.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/BugPoint/remove_arguments_test.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/BugPoint/remove_arguments_test.ll
@@ -1,6 +1,7 @@
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes --opt-command opt
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
; REQUIRES: loadable_module
+; XFAIL: *
; Test to make sure that arguments are removed from the function if they are
; unnecessary. And clean up any types that frees up too.
Index: llvm-toolchain-snapshot_7~svn324807/test/Feature/load_module.ll
Index: llvm-toolchain-snapshot_8~svn348749/test/Feature/load_module.ll
===================================================================
--- llvm-toolchain-snapshot_7~svn324807.orig/test/Feature/load_module.ll
+++ llvm-toolchain-snapshot_7~svn324807/test/Feature/load_module.ll
--- llvm-toolchain-snapshot_8~svn348749.orig/test/Feature/load_module.ll
+++ llvm-toolchain-snapshot_8~svn348749/test/Feature/load_module.ll
@@ -3,6 +3,7 @@
; RUN: -disable-output 2>&1 | grep Hello
; REQUIRES: loadable_module