[llvm] [DAG] SDPatternMatch - add a m_SpecificNeg() matcher (PR #173807)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 28 18:07:14 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 128963 tests passed
* 2842 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM-Unit
<details>
<summary>LLVM-Unit.CodeGen/_/CodeGenTests_exe/15/39</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:C:\_work\llvm-project\llvm-project\build\unittests\CodeGen\.\CodeGenTests.exe-LLVM-Unit-26168-15-39.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=39 GTEST_SHARD_INDEX=15 C:\_work\llvm-project\llvm-project\build\unittests\CodeGen\.\CodeGenTests.exe
--
Note: This is test shard 16 of 39.
[==========] Running 8 tests from 8 test suites.
[----------] Global test environment set-up.
[----------] 1 test from AsmPrinterEmitDwarfSymbolReferenceTest
[ RUN ] AsmPrinterEmitDwarfSymbolReferenceTest.ELFDWARF64
[ OK ] AsmPrinterEmitDwarfSymbolReferenceTest.ELFDWARF64 (0 ms)
[----------] 1 test from AsmPrinterEmitDwarfSymbolReferenceTest (0 ms total)
[----------] 1 test from DroppedVariableStatsMIR
[ RUN ] DroppedVariableStatsMIR.UnrelatedScopes
!dbg attachment points at wrong subprogram for function
!4 = distinct !DISubprogram(name: "foo", linkageName: "_Z3fooi", scope: !5, file: !5, line: 1, type: !6, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !9)
ptr @_Z3fooi
%add = add nsw i32 %x, 1, !dbg !12
!12 = !DILocation(line: 2, column: 11, scope: !13)
!13 = distinct !DISubprogram(name: "bar", linkageName: "_Z3bari", scope: !5, file: !5, line: 1, type: !6, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !9)
!13 = distinct !DISubprogram(name: "bar", linkageName: "_Z3bari", scope: !5, file: !5, line: 1, type: !6, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !9)
invalid retained nodes, retained node does not belong to subprogram
!13 = distinct !DISubprogram(name: "bar", linkageName: "_Z3bari", scope: !5, file: !5, line: 1, type: !6, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !9)
!9 = !{!10}
!10 = !DILocalVariable(name: "x", arg: 1, scope: !4, file: !5, line: 1, type: !8)
!4 = distinct !DISubprogram(name: "foo", linkageName: "_Z3fooi", scope: !5, file: !5, line: 1, type: !6, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !9)
warning: ignoring invalid debug info in
[ OK ] DroppedVariableStatsMIR.UnrelatedScopes (7 ms)
[----------] 1 test from DroppedVariableStatsMIR (7 ms total)
[----------] 1 test from LowLevelTypeTest
[ RUN ] LowLevelTypeTest.Divide
[ OK ] LowLevelTypeTest.Divide (0 ms)
[----------] 1 test from LowLevelTypeTest (0 ms total)
[----------] 1 test from MachineOperandTest
[ RUN ] MachineOperandTest.PrintJumpTableIndex
[ OK ] MachineOperandTest.PrintJumpTableIndex (0 ms)
[----------] 1 test from MachineOperandTest (0 ms total)
[----------] 1 test from ResourceSegmentsDeath
[ RUN ] ResourceSegmentsDeath.OverwriteOnRight
[ OK ] ResourceSegmentsDeath.OverwriteOnRight (47 ms)
[----------] 1 test from ResourceSegmentsDeath (47 ms total)
[----------] 1 test from SelectionDAGAddressAnalysisTest
[ RUN ] SelectionDAGAddressAnalysisTest.fixedSizeFrameObjectsOutOfDiff
[ OK ] SelectionDAGAddressAnalysisTest.fixedSizeFrameObjectsOutOfDiff (2 ms)
[----------] 1 test from SelectionDAGAddressAnalysisTest (2 ms total)
[----------] 1 test from SelectionDAGPatternMatchTest
[ RUN ] SelectionDAGPatternMatchTest.MatchSpecificNeg
Assertion failed: llvm::isUIntN(BitWidth, val) && "Value is not an N-bit unsigned value", file C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/APInt.h, line 128
--
exit: 3
--
shard JSON output does not exist: C:\_work\llvm-project\llvm-project\build\unittests\CodeGen\.\CodeGenTests.exe-LLVM-Unit-26168-15-39.json
```
</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/173807
More information about the llvm-commits
mailing list