Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 2786dc1

Browse files
committed
[InlineAdvisor][NFC] Fix tests added in D110658 on
Windows which outputs "is a directory" rather than "Is a directory" on error compared to linux
1 parent a833844 commit 2786dc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/Transforms/Inline/cgscc-inline-replay.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
; REPLAY-FUNCTION: '_Z3subii' inlined into '_Z3sumii' with (cost={{[-0-9]+}}
2626
; REPLAY-FUNCTION: '_Z3sumii' inlined into 'main' with (cost=always)
2727

28-
; REPLAY-ERROR: error: Could not open remarks file: Is a directory
28+
; REPLAY-ERROR: error: Could not open remarks file:
2929
; REPLAY-ERROR-SCOPE: opt: for the --cgscc-inline-replay-scope option: Cannot find option named 'function'!
3030

3131
@.str = private unnamed_addr constant [11 x i8] c"sum is %d\0A\00", align 1

llvm/test/Transforms/SampleProfile/inline-replay.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
; REPLAY-ALL-FUNCTION-NOT: '_Z3subii' inlined into 'main' to match profiling context with (cost={{[-0-9]+}}
3737
; REPLAY-ALL-FUNCTION: '_Z3subii' inlined into '_Z3sumii' to match profiling context with (cost={{[-0-9]+}}
3838

39-
; REPLAY-ERROR: error: Could not open remarks file: Is a directory
39+
; REPLAY-ERROR: error: Could not open remarks file:
4040
; REPLAY-ERROR-SCOPE: opt: for the --sample-profile-inline-replay-scope option: Cannot find option named 'function'!
4141

4242
@.str = private unnamed_addr constant [11 x i8] c"sum is %d\0A\00", align 1

0 commit comments

Comments
 (0)