]> granicus.if.org Git - llvm/commitdiff
[LTO] Make these tests robust across multiple iterations.
authorDavide Italiano <davide@freebsd.org>
Fri, 10 Feb 2017 22:11:06 +0000 (22:11 +0000)
committerDavide Italiano <davide@freebsd.org>
Fri, 10 Feb 2017 22:11:06 +0000 (22:11 +0000)
Same as r294784, but for regular LTO.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294789 91177308-0d34-0410-b5e6-96231b3b80d8

test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll
test/LTO/X86/diagnostic-handler-remarks.ll

index e5d53c7774a15743b611c86933571a222f3198da..afb46875d3327cbf6e0de162ae9a4bef7e22c4a0 100644 (file)
@@ -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 \
index 456bdb5419c888b5f658e89c3812e32047f65f1d..a78e23e7a7662b9fd6ee968ed2a3c9f0783433b9 100644 (file)
@@ -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 | \