mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 11:02:04 +08:00
[InlineAdvisor][NFC] Fix tests added in D110658 V2
On Windows there's an *.exe suffix to opt that isn't present in Linux. Remove the check for opt in the string
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
; REPLAY-FUNCTION: '_Z3sumii' inlined into 'main' with (cost=always)
|
||||
|
||||
; REPLAY-ERROR: error: Could not open remarks file:
|
||||
; REPLAY-ERROR-SCOPE: opt: for the --cgscc-inline-replay-scope option: Cannot find option named 'function'!
|
||||
; REPLAY-ERROR-SCOPE: 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
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
; REPLAY-ALL-FUNCTION: '_Z3subii' inlined into '_Z3sumii' to match profiling context with (cost={{[-0-9]+}}
|
||||
|
||||
; 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'!
|
||||
; REPLAY-ERROR-SCOPE: 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user