github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 53472 tests passed
* 1055 tests skipped
* 3 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CodeGenOpenCL/enqueue-kernel-non-entry-block.cl</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-cl-std=CL2.0 -O0 -emit-llvm -o - -triple amdgcn < 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl
 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl
 --check-prefixes=COMMON,AMDGPU
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-cl-std=CL2.0 -O0 -emit-llvm -o - -triple amdgcn
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl'
 --check-prefixes=COMMON,AMDGPU
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-cl-std=CL2.0 -O0 -emit-llvm -o - -triple "spir-unknown-unknown" < 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl
 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl
 --check-prefixes=COMMON,SPIR32,SPIR
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-cl-std=CL2.0 -O0 -emit-llvm -o - -triple spir-unknown-unknown
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl'
 --check-prefixes=COMMON,SPIR32,SPIR
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-cl-std=CL2.0 -O0 -emit-llvm -o - -triple "spir64-unknown-unknown" < 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl
 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl
 --check-prefixes=COMMON,SPIR64,SPIR
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-cl-std=CL2.0 -O0 -emit-llvm -o - -triple spir64-unknown-unknown
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl'
 --check-prefixes=COMMON,SPIR64,SPIR
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-cl-std=CL2.0 -O0 -debug-info-kind=limited -gno-column-info -emit-llvm -o - 
-triple amdgcn < 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl
 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl
 --check-prefixes=CHECK-DEBUG
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-cl-std=CL2.0 -O0 -debug-info-kind=limited -gno-column-info -emit-llvm -o - 
-triple amdgcn
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl'
 --check-prefixes=CHECK-DEBUG
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl:41:17:
 error: CHECK-DEBUG: expected string not found in input
# | // CHECK-DEBUG: ![[TEMPLOCATION]] = !DILocation(line: 27, scope: 
![[IFSCOPE]])
# |                 ^
# | <stdin>:140:63: note: scanning from here
# | !36 = distinct !DILexicalBlock(scope: !18, file: !1, line: 26)
# |                                                               ^
# | <stdin>:140:63: note: with "TEMPLOCATION" equal to "38"
# | !36 = distinct !DILexicalBlock(scope: !18, file: !1, line: 26)
# |                                                               ^
# | <stdin>:140:63: note: with "IFSCOPE" equal to "36"
# | !36 = distinct !DILexicalBlock(scope: !18, file: !1, line: 26)
# |                                                               ^
# | <stdin>:141:3: note: possible intended match here
# | !37 = !DILocation(line: 27, scope: !36)
# |   ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\enqueue-kernel-non-entry-block.cl
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           135: !31 = distinct !DICompositeType(tag: DW_TAG_structure_type, 
file: !1, line: 9, size: 32, elements: !32) 
# |           136: !32 = !{!33} 
# |           137: !33 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: 
!31, file: !1, line: 9, baseType: !9, size: 32) 
# |           138: !34 = !DILocation(line: 25, scope: !18) 
# |           139: !35 = !DILocation(line: 26, scope: !36) 
# |           140: !36 = distinct !DILexicalBlock(scope: !18, file: !1, line: 
26) 
# | check:41'0                                                                  
 X error: no match found
# | check:41'1                                                                  
   with "TEMPLOCATION" equal to "38"
# | check:41'2                                                                  
   with "IFSCOPE" equal to "36"
# |           141: !37 = !DILocation(line: 27, scope: !36) 
# | check:41'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:41'3       ?                                      possible intended 
match
# |           142: !38 = !DILocation(line: 0, scope: !39, inlinedAt: !37) 
# | check:41'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           143: !39 = distinct !DISubprogram(name: "enqueue_kernel", scope: 
!1, file: !1, type: !40, flags: DIFlagArtificial, spFlags: DISPFlagDefinition, 
unit: !0) 
# | check:41'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           144: !40 = !DISubroutineType(types: null) 
# | check:41'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           145: !41 = !DILocation(line: 28, scope: !18) 
# | check:41'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           146: !42 = distinct !DISubprogram(name: "__test_block_invoke", 
linkageName: "__test_block_invoke", scope: !1, file: !1, line: 27, type: !43, 
scopeLine: 27, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | 
DISPFlagDefinition, unit: !0, retainedNodes: !10) 
# | check:41'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.Profile/misexpect-switch-default.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llvm-profdata.exe merge 
C:\_work\llvm-project\llvm-project\clang\test\Profile/Inputs/misexpect-switch-default.proftext
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\Profile\Output\misexpect-switch-default.c.tmp.profdata
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\llvm-profdata.exe' merge 
'C:\_work\llvm-project\llvm-project\clang\test\Profile/Inputs/misexpect-switch-default.proftext'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Profile\Output\misexpect-switch-default.c.tmp.profdata'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch-default.c
 -O2 -o - -emit-llvm -fprofile-instrument-use=clang 
-fprofile-instrument-use-path=C:\_work\llvm-project\llvm-project\build\tools\clang\test\Profile\Output\misexpect-switch-default.c.tmp.profdata
 -verify -Wmisexpect -debug-info-kind=line-tables-only
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
'C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch-default.c'
 -O2 -o - -emit-llvm -fprofile-instrument-use=clang 
'-fprofile-instrument-use-path=C:\_work\llvm-project\llvm-project\build\tools\clang\test\Profile\Output\misexpect-switch-default.c.tmp.profdata'
 -verify -Wmisexpect -debug-info-kind=line-tables-only
# .---command stdout------------
# | ; ModuleID = 
'C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch-default.c'
# | source_filename = 
"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Profile\\misexpect-switch-default.c"
# | target datalayout = 
"e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | target triple = "x86_64-pc-windows-msvc"
# | 
# | @arry = dso_local global [25 x i32] zeroinitializer, align 16
# | 
# | ; Function Attrs: nounwind
# | define dso_local noundef i32 @main() local_unnamed_addr #0 !dbg !42 !prof 
!46 {
# | entry:
# |   tail call void @init_arry() #2, !dbg !47
# |   br label %for.body, !dbg !48
# | 
# | for.body:                                         ; preds = %entry, 
%sw.epilog
# |   %j.08 = phi i32 [ 0, %entry ], [ %inc, %sw.epilog ]
# |   %call = tail call i32 @rand() #2, !dbg !49
# |   %rem = srem i32 %call, 5, !dbg !50
# |   switch i32 %rem, label %sw.default [
# |     i32 0, label %sw.bb
# |     i32 1, label %sw.epilog
# |     i32 2, label %sw.epilog
# |     i32 3, label %sw.epilog
# |     i32 4, label %sw.bb3
# |   ], !dbg !51, !prof !52
# | 
# | sw.bb:                                            ; preds = %for.body
# |   %call1 = tail call i32 @sum(ptr noundef nonnull @arry, i32 noundef 25) 
#2, !dbg !53
# |   br label %sw.epilog, !dbg !54
# | 
# | sw.bb3:                                           ; preds = %for.body
# |   %call4 = tail call i32 @random_sample(ptr noundef nonnull @arry, i32 
noundef 25) #2, !dbg !55
# |   br label %sw.epilog, !dbg !56
# | 
# | sw.default:                                       ; preds = %for.body
# |   unreachable, !dbg !57
# | 
# | sw.epilog:                                        ; preds = %for.body, 
%for.body, %for.body, %sw.bb3, %sw.bb
# |   %inc = add nuw nsw i32 %j.08, 1, !dbg !61
# |   %exitcond.not = icmp eq i32 %inc, 20000, !dbg !62
# |   br i1 %exitcond.not, label %for.end, label %for.body, !dbg !48, !prof 
!63, !llvm.loop !64
# | 
# | for.end:                                          ; preds = %sw.epilog
# |   ret i32 0, !dbg !67
# | }
# | 
# | declare dso_local void @init_arry(...) local_unnamed_addr #1
# | 
# | declare dso_local i32 @rand(...) local_unnamed_addr #1
# | 
# | declare dso_local i32 @sum(ptr noundef, i32 noundef) local_unnamed_addr #1
# | 
# | declare dso_local i32 @random_sample(ptr noundef, i32 noundef) 
local_unnamed_addr #1
# | 
# | attributes #0 = { nounwind "min-legal-vector-width"="0" 
"no-trapping-math"="true" "stack-protector-buffer-size"="8" 
"target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
# | attributes #1 = { "no-trapping-math"="true" 
"stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" 
}
# | attributes #2 = { nounwind }
# | 
# | !llvm.dbg.cu = !{!0}
# | !llvm.module.flags = !{!2, !31, !32, !33}
# | !llvm.ident = !{!37}
# | !llvm.errno.tbaa = !{!38}
# | 
# | !0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, producer: 
"clang version 23.0.0git (https://github.com/llvm/llvm-project 
87683aebb8ca787d165c1622e54c07cc158eae3b)", isOptimized: true, runtimeVersion: 
0, emissionKind: LineTablesOnly, splitDebugInlining: false, nameTableKind: None)
# | !1 = !DIFile(filename: 
"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Profile\\<stdin>", 
directory: "")
# | !2 = !{i32 1, !"ProfileSummary", !3}
# | !3 = !{!4, !5, !6, !7, !8, !9, !10, !11, !12, !13}
# | !4 = !{!"ProfileFormat", !"InstrProf"}
# | !5 = !{!"TotalCount", i64 60001}
# | !6 = !{!"MaxCount", i64 20000}
# | !7 = !{!"MaxInternalCount", i64 20000}
# | !8 = !{!"MaxFunctionCount", i64 1}
# | !9 = !{!"NumCounts", i64 9}
# | !10 = !{!"NumFunctions", i64 1}
# | !11 = !{!"IsPartialProfile", i64 0}
# | !12 = !{!"PartialProfileRatio", double 0.000000e+00}
# | !13 = !{!"DetailedSummary", !14}
# | !14 = !{!15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, 
!28, !29, !30}
# | !15 = !{i32 10000, i64 20000, i32 2}
# | !16 = !{i32 100000, i64 20000, i32 2}
# | !17 = !{i32 200000, i64 20000, i32 2}
# | !18 = !{i32 300000, i64 20000, i32 2}
# | !19 = !{i32 400000, i64 20000, i32 2}
# | !20 = !{i32 500000, i64 20000, i32 2}
# | !21 = !{i32 600000, i64 20000, i32 2}
# | !22 = !{i32 700000, i64 11889, i32 3}
# | !23 = !{i32 800000, i64 11889, i32 3}
# | !24 = !{i32 900000, i64 4066, i32 4}
# | !25 = !{i32 950000, i64 4045, i32 5}
# | !26 = !{i32 990000, i64 4045, i32 5}
# | !27 = !{i32 999000, i64 4045, i32 5}
# | !28 = !{i32 999900, i64 4045, i32 5}
# | !29 = !{i32 999990, i64 4045, i32 5}
# | !30 = !{i32 999999, i64 4045, i32 5}
# | !31 = !{i32 2, !"Debug Info Version", i32 3}
# | !32 = !{i32 1, !"MaxTLSAlign", i32 65536}
# | !33 = !{i32 5, !"CG Profile", !34}
# | !34 = distinct !{!35, !36}
# | !35 = !{ptr @main, ptr @sum, i64 2000}
# | !36 = !{ptr @main, ptr @random_sample, i64 2000}
# | !37 = !{!"clang version 23.0.0git (https://github.com/llvm/llvm-project 
87683aebb8ca787d165c1622e54c07cc158eae3b)"}
# | !38 = !{!39, !39, i64 0}
# | !39 = !{!"int", !40, i64 0}
# | !40 = !{!"omnipotent char", !41, i64 0}
# | !41 = !{!"Simple C/C++ TBAA"}
# | !42 = distinct !DISubprogram(name: "main", scope: !43, file: !43, line: 17, 
type: !44, scopeLine: 17, spFlags: DISPFlagDefinition | DISPFlagOptimized, 
unit: !0)
# | !43 = !DIFile(filename: 
"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Profile\\misexpect-switch-default.c",
 directory: "")
# | !44 = !DISubroutineType(types: !45)
# | !45 = !{}
# | !46 = !{!"function_entry_count", i64 1}
# | !47 = !DILocation(line: 18, column: 3, scope: !42)
# | !48 = !DILocation(line: 21, column: 3, scope: !42)
# | !49 = !DILocation(line: 22, column: 26, scope: !42)
# | !50 = !DILocation(line: 22, column: 33, scope: !42)
# | !51 = !DILocation(line: 23, column: 5, scope: !42)
# | !52 = !{!"branch_weights", !"expected", i32 2000, i32 1, i32 1, i32 1, i32 
1, i32 1}
# | !53 = !DILocation(line: 25, column: 14, scope: !42)
# | !54 = !DILocation(line: 26, column: 7, scope: !42)
# | !55 = !DILocation(line: 32, column: 14, scope: !42)
# | !56 = !DILocation(line: 33, column: 7, scope: !42)
# | !57 = !DILocation(line: 0, scope: !58, inlinedAt: !60)
# | !58 = distinct !DISubprogram(name: "__builtin_unreachable", scope: !43, 
file: !43, type: !59, flags: DIFlagArtificial, spFlags: DISPFlagDefinition, 
unit: !0)
# | !59 = !DISubroutineType(types: null)
# | !60 = !DILocation(line: 35, column: 7, scope: !42)
# | !61 = !DILocation(line: 21, column: 44, scope: !42)
# | !62 = !DILocation(line: 21, column: 17, scope: !42)
# | !63 = !{!"branch_weights", i32 2, i32 19999}
# | !64 = distinct !{!64, !48, !65, !66}
# | !65 = !DILocation(line: 37, column: 3, scope: !42)
# | !66 = !{!"llvm.loop.mustprogress"}
# | !67 = !DILocation(line: 39, column: 3, scope: !42)
# `-----------------------------
# .---command stderr------------
# | error: 'expected-warning' diagnostics expected but not seen: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch-default.c
 Line 23: potential performance regression from use of __builtin_expect(): 
annotation was correct on {{.+}}% ({{[0-9]+ / [0-9]+}}) of profiled executions
# | error: 'expected-warning' diagnostics seen but not expected: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch-default.c
 Line 17: potential performance regression from use of __builtin_expect(): 
annotation was correct on 0.00% (1 / 20006) of profiled executions
# | error: 'expected-note' diagnostics seen but not expected: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch-default.c
 Line 17: could not determine the original source location for 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch-default.c:0:0
# | 3 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.Profile/misexpect-switch.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llvm-profdata.exe merge 
C:\_work\llvm-project\llvm-project\clang\test\Profile/Inputs/misexpect-switch.proftext
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\Profile\Output\misexpect-switch.c.tmp.profdata
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\llvm-profdata.exe' merge 
'C:\_work\llvm-project\llvm-project\clang\test\Profile/Inputs/misexpect-switch.proftext'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Profile\Output\misexpect-switch.c.tmp.profdata'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch.c -O2 -o 
- -emit-llvm -fprofile-instrument-use=clang 
-fprofile-instrument-use-path=C:\_work\llvm-project\llvm-project\build\tools\clang\test\Profile\Output\misexpect-switch.c.tmp.profdata
 -verify -Wmisexpect -debug-info-kind=line-tables-only
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
'C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch.c' -O2 
-o - -emit-llvm -fprofile-instrument-use=clang 
'-fprofile-instrument-use-path=C:\_work\llvm-project\llvm-project\build\tools\clang\test\Profile\Output\misexpect-switch.c.tmp.profdata'
 -verify -Wmisexpect -debug-info-kind=line-tables-only
# .---command stdout------------
# | ; ModuleID = 
'C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch.c'
# | source_filename = 
"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Profile\\misexpect-switch.c"
# | target datalayout = 
"e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | target triple = "x86_64-pc-windows-msvc"
# | 
# | @arry = dso_local global [25 x i32] zeroinitializer, align 16
# | 
# | ; Function Attrs: nounwind
# | define dso_local noundef i32 @main() local_unnamed_addr #0 !dbg !42 !prof 
!46 {
# | entry:
# |   br label %for.cond1.preheader, !dbg !47
# | 
# | for.cond1.preheader:                              ; preds = %entry, 
%for.inc8
# |   %j.016 = phi i32 [ 0, %entry ], [ %inc9, %for.inc8 ]
# |   br label %for.body3, !dbg !48
# | 
# | for.body3:                                        ; preds = 
%for.cond1.preheader, %sw.epilog
# |   %k.014 = phi i32 [ 0, %for.cond1.preheader ], [ %inc, %sw.epilog ]
# |   %call = tail call i32 @rand() #2, !dbg !49
# |   %rem = srem i32 %call, 10000, !dbg !50
# |   switch i32 %rem, label %sw.default [
# |     i32 0, label %sw.bb
# |     i32 1, label %sw.epilog
# |     i32 2, label %sw.epilog
# |     i32 3, label %sw.epilog
# |   ], !dbg !51, !prof !52
# | 
# | sw.bb:                                            ; preds = %for.body3
# |   %call4 = tail call i32 @sum(ptr noundef nonnull @arry, i32 noundef 25) 
#2, !dbg !53
# |   br label %sw.epilog, !dbg !54
# | 
# | sw.default:                                       ; preds = %for.body3
# |   %call6 = tail call i32 @random_sample(ptr noundef nonnull @arry, i32 
noundef 25) #2, !dbg !55
# |   br label %sw.epilog, !dbg !56
# | 
# | sw.epilog:                                        ; preds = %for.body3, 
%for.body3, %for.body3, %sw.default, %sw.bb
# |   %inc = add nuw nsw i32 %k.014, 1, !dbg !57
# |   %exitcond.not = icmp eq i32 %inc, 1000, !dbg !58
# |   br i1 %exitcond.not, label %for.inc8, label %for.body3, !dbg !48, !prof 
!59, !llvm.loop !60
# | 
# | for.inc8:                                         ; preds = %sw.epilog
# |   %inc9 = add nuw nsw i32 %j.016, 1, !dbg !63
# |   %exitcond18.not = icmp eq i32 %inc9, 20, !dbg !64
# |   br i1 %exitcond18.not, label %for.end10, label %for.cond1.preheader, !dbg 
!47, !prof !65, !llvm.loop !66
# | 
# | for.end10:                                        ; preds = %for.inc8
# |   ret i32 0, !dbg !68
# | }
# | 
# | declare dso_local i32 @rand(...) local_unnamed_addr #1
# | 
# | declare dso_local i32 @sum(ptr noundef, i32 noundef) local_unnamed_addr #1
# | 
# | declare dso_local i32 @random_sample(ptr noundef, i32 noundef) 
local_unnamed_addr #1
# | 
# | attributes #0 = { nounwind "min-legal-vector-width"="0" 
"no-trapping-math"="true" "stack-protector-buffer-size"="8" 
"target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
# | attributes #1 = { "no-trapping-math"="true" 
"stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" 
}
# | attributes #2 = { nounwind }
# | 
# | !llvm.dbg.cu = !{!0}
# | !llvm.module.flags = !{!2, !31, !32, !33}
# | !llvm.ident = !{!37}
# | !llvm.errno.tbaa = !{!38}
# | 
# | !0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, producer: 
"clang version 23.0.0git (https://github.com/llvm/llvm-project 
87683aebb8ca787d165c1622e54c07cc158eae3b)", isOptimized: true, runtimeVersion: 
0, emissionKind: LineTablesOnly, splitDebugInlining: false, nameTableKind: None)
# | !1 = !DIFile(filename: 
"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Profile\\<stdin>", 
directory: "")
# | !2 = !{i32 1, !"ProfileSummary", !3}
# | !3 = !{!4, !5, !6, !7, !8, !9, !10, !11, !12, !13}
# | !4 = !{!"ProfileFormat", !"InstrProf"}
# | !5 = !{!"TotalCount", i64 80014}
# | !6 = !{!"MaxCount", i64 20000}
# | !7 = !{!"MaxInternalCount", i64 20000}
# | !8 = !{!"MaxFunctionCount", i64 19990}
# | !9 = !{!"NumCounts", i64 11}
# | !10 = !{!"NumFunctions", i64 3}
# | !11 = !{!"IsPartialProfile", i64 0}
# | !12 = !{!"PartialProfileRatio", double 0.000000e+00}
# | !13 = !{!"DetailedSummary", !14}
# | !14 = !{!15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, 
!28, !29, !30}
# | !15 = !{i32 10000, i64 20000, i32 2}
# | !16 = !{i32 100000, i64 20000, i32 2}
# | !17 = !{i32 200000, i64 20000, i32 2}
# | !18 = !{i32 300000, i64 20000, i32 2}
# | !19 = !{i32 400000, i64 20000, i32 2}
# | !20 = !{i32 500000, i64 19990, i32 4}
# | !21 = !{i32 600000, i64 19990, i32 4}
# | !22 = !{i32 700000, i64 19990, i32 4}
# | !23 = !{i32 800000, i64 19990, i32 4}
# | !24 = !{i32 900000, i64 19990, i32 4}
# | !25 = !{i32 950000, i64 19990, i32 4}
# | !26 = !{i32 990000, i64 19990, i32 4}
# | !27 = !{i32 999000, i64 19990, i32 4}
# | !28 = !{i32 999900, i64 3, i32 9}
# | !29 = !{i32 999990, i64 1, i32 11}
# | !30 = !{i32 999999, i64 1, i32 11}
# | !31 = !{i32 2, !"Debug Info Version", i32 3}
# | !32 = !{i32 1, !"MaxTLSAlign", i32 65536}
# | !33 = !{i32 5, !"CG Profile", !34}
# | !34 = distinct !{!35, !36}
# | !35 = !{ptr @main, ptr @sum, i64 9981}
# | !36 = !{ptr @main, ptr @random_sample, i64 5}
# | !37 = !{!"clang version 23.0.0git (https://github.com/llvm/llvm-project 
87683aebb8ca787d165c1622e54c07cc158eae3b)"}
# | !38 = !{!39, !39, i64 0}
# | !39 = !{!"int", !40, i64 0}
# | !40 = !{!"omnipotent char", !41, i64 0}
# | !41 = !{!"Simple C/C++ TBAA"}
# | !42 = distinct !DISubprogram(name: "main", scope: !43, file: !43, line: 16, 
type: !44, scopeLine: 16, spFlags: DISPFlagDefinition | DISPFlagOptimized, 
unit: !0)
# | !43 = !DIFile(filename: 
"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Profile\\misexpect-switch.c",
 directory: "")
# | !44 = !DISubroutineType(types: !45)
# | !45 = !{}
# | !46 = !{!"function_entry_count", i64 1}
# | !47 = !DILocation(line: 20, column: 3, scope: !42)
# | !48 = !DILocation(line: 21, column: 5, scope: !42)
# | !49 = !DILocation(line: 22, column: 28, scope: !42)
# | !50 = !DILocation(line: 22, column: 35, scope: !42)
# | !51 = !DILocation(line: 23, column: 7, scope: !42)
# | !52 = !{!"branch_weights", !"expected", i32 1, i32 2000, i32 1, i32 1, i32 
1}
# | !53 = !DILocation(line: 25, column: 16, scope: !42)
# | !54 = !DILocation(line: 26, column: 9, scope: !42)
# | !55 = !DILocation(line: 32, column: 16, scope: !42)
# | !56 = !DILocation(line: 33, column: 9, scope: !42)
# | !57 = !DILocation(line: 21, column: 33, scope: !42)
# | !58 = !DILocation(line: 21, column: 19, scope: !42)
# | !59 = !{!"branch_weights", i32 21, i32 19980}
# | !60 = distinct !{!60, !48, !61, !62}
# | !61 = !DILocation(line: 35, column: 5, scope: !42)
# | !62 = !{!"llvm.loop.mustprogress"}
# | !63 = !DILocation(line: 20, column: 31, scope: !42)
# | !64 = !DILocation(line: 20, column: 17, scope: !42)
# | !65 = !{!"branch_weights", i32 2, i32 19}
# | !66 = distinct !{!66, !47, !67, !62}
# | !67 = !DILocation(line: 36, column: 3, scope: !42)
# | !68 = !DILocation(line: 38, column: 3, scope: !42)
# `-----------------------------
# .---command stderr------------
# | error: 'expected-warning' diagnostics expected but not seen: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch.c Line 
23: potential performance regression from use of __builtin_expect(): annotation 
was correct on {{.+}}% ({{[0-9]+ / [0-9]+}}) of profiled executions
# | error: 'expected-warning' diagnostics seen but not expected: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch.c Line 
16: potential performance regression from use of __builtin_expect(): annotation 
was correct on 0.02% (4 / 20005) of profiled executions
# | error: 'expected-note' diagnostics seen but not expected: 
# |   File 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch.c Line 
16: could not determine the original source location for 
C:\_work\llvm-project\llvm-project\clang\test\Profile\misexpect-switch.c:0:0
# | 3 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken 
or flaky at HEAD), please open an issue at 
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/189969
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to