From: Davide Italiano Date: Fri, 10 Feb 2017 22:11:06 +0000 (+0000) Subject: [LTO] Make these tests robust across multiple iterations. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bec084b99d2bbb8db2a0b00485fc87672812bbf0;p=llvm [LTO] Make these tests robust across multiple iterations. Same as r294784, but for regular LTO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294789 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll b/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll index e5d53c7774a..afb46875d33 100644 --- a/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll +++ b/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll @@ -2,6 +2,7 @@ ; with -lto-pass-remarks-with-hotness. ; RUN: llvm-as < %s >%t.bc +; RUN: rm -f %t.yaml* ; RUN: llvm-lto -lto-pass-remarks-output=%t.yaml \ ; RUN: -lto-pass-remarks-with-hotness \ ; RUN: -exported-symbol _func2 \ diff --git a/test/LTO/X86/diagnostic-handler-remarks.ll b/test/LTO/X86/diagnostic-handler-remarks.ll index 456bdb5419c..a78e23e7a76 100644 --- a/test/LTO/X86/diagnostic-handler-remarks.ll +++ b/test/LTO/X86/diagnostic-handler-remarks.ll @@ -28,6 +28,7 @@ ; RUN: llvm-nm %t.o | FileCheck %s -check-prefix NM ; Optimization records are collected regardless of the diagnostic handler +; RUN: rm -f %t.yaml* ; RUN: llvm-lto -lto-pass-remarks-output=%t.yaml \ ; RUN: -exported-symbol _func2 \ ; RUN: -exported-symbol _main -o %t.o %t.bc 2>&1 | \