[llvm] 2786dc1 - [InlineAdvisor][NFC] Fix tests added in D110658 on
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 18 14:21:07 PDT 2021
Author: modimo
Date: 2021-10-18T14:21:01-07:00
New Revision: 2786dc1096a5147eb034603c32391d2281f1867c
URL: https://github.com/llvm/llvm-project/commit/2786dc1096a5147eb034603c32391d2281f1867c
DIFF: https://github.com/llvm/llvm-project/commit/2786dc1096a5147eb034603c32391d2281f1867c.diff
LOG: [InlineAdvisor][NFC] Fix tests added in D110658 on
Windows which outputs "is a directory" rather than "Is a directory" on error compared to linux
Added:
Modified:
llvm/test/Transforms/Inline/cgscc-inline-replay.ll
llvm/test/Transforms/SampleProfile/inline-replay.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/Inline/cgscc-inline-replay.ll b/llvm/test/Transforms/Inline/cgscc-inline-replay.ll
index 0c74693aef57..50b26ba14c31 100644
--- a/llvm/test/Transforms/Inline/cgscc-inline-replay.ll
+++ b/llvm/test/Transforms/Inline/cgscc-inline-replay.ll
@@ -25,7 +25,7 @@
; REPLAY-FUNCTION: '_Z3subii' inlined into '_Z3sumii' with (cost={{[-0-9]+}}
; REPLAY-FUNCTION: '_Z3sumii' inlined into 'main' with (cost=always)
-; REPLAY-ERROR: error: Could not open remarks file: Is a directory
+; REPLAY-ERROR: error: Could not open remarks file:
; REPLAY-ERROR-SCOPE: opt: for the --cgscc-inline-replay-scope option: Cannot find option named 'function'!
@.str = private unnamed_addr constant [11 x i8] c"sum is %d\0A\00", align 1
diff --git a/llvm/test/Transforms/SampleProfile/inline-replay.ll b/llvm/test/Transforms/SampleProfile/inline-replay.ll
index 55b49cec9c3c..2cb8a7c53198 100644
--- a/llvm/test/Transforms/SampleProfile/inline-replay.ll
+++ b/llvm/test/Transforms/SampleProfile/inline-replay.ll
@@ -36,7 +36,7 @@
; REPLAY-ALL-FUNCTION-NOT: '_Z3subii' inlined into 'main' to match profiling context with (cost={{[-0-9]+}}
; REPLAY-ALL-FUNCTION: '_Z3subii' inlined into '_Z3sumii' to match profiling context with (cost={{[-0-9]+}}
-; REPLAY-ERROR: error: Could not open remarks file: Is a directory
+; REPLAY-ERROR: error: Could not open remarks file:
; REPLAY-ERROR-SCOPE: opt: for the --sample-profile-inline-replay-scope option: Cannot find option named 'function'!
@.str = private unnamed_addr constant [11 x i8] c"sum is %d\0A\00", align 1
More information about the llvm-commits
mailing list