[llvm] r292865 - [LTO] Add test to show up we don't support ThinLTO yet.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 23 16:59:00 PST 2017
Author: davide
Date: Mon Jan 23 18:59:00 2017
New Revision: 292865
URL: http://llvm.org/viewvc/llvm-project?rev=292865&view=rev
Log:
[LTO] Add test to show up we don't support ThinLTO yet.
Added:
llvm/trunk/test/ThinLTO/X86/error-newpm.ll
Added: llvm/trunk/test/ThinLTO/X86/error-newpm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ThinLTO/X86/error-newpm.ll?rev=292865&view=auto
==============================================================================
--- llvm/trunk/test/ThinLTO/X86/error-newpm.ll (added)
+++ llvm/trunk/test/ThinLTO/X86/error-newpm.ll Mon Jan 23 18:59:00 2017
@@ -0,0 +1,13 @@
+; RUN: opt -module-summary %s -o %t1.bc
+; RUN: not llvm-lto2 %t1.bc -o %t.o \
+; RUN: -r=%t1.bc,_tinkywinky,pxl \
+; RUN: -lto-use-new-pm 2>&1 | FileCheck %s
+
+; CHECK: ThinLTO not supported with the new PM yet!
+
+target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-apple-macosx10.11.0"
+
+define void @tinkywinky() {
+ ret void
+}
More information about the llvm-commits
mailing list