[llvm] [SDAG] Reuse MMO in `legalizeStoreOps` promotion path (PR #229722)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 7 05:51:14 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 143510 tests passed
* 3454 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/PowerPC/wide-scalar-shift-by-byte-multiple-legalization.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-by-byte-multiple-legalization.ll -mtriple=powerpc64le-unknown-linux-gnu | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-by-byte-multiple-legalization.ll --check-prefixes=ALL,LE,LE-64BIT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=powerpc64le-unknown-linux-gnu
# 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\llvm\test\CodeGen\PowerPC\wide-scalar-shift-by-byte-multiple-legalization.ll' --check-prefixes=ALL,LE,LE-64BIT
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-by-byte-multiple-legalization.ll:697:18: error: LE-64BIT-NEXT: is not on the line after the previous match
# | ; LE-64BIT-NEXT: stxvd2x 2, 7, 8
# | ^
# | <stdin>:292:2: note: 'next' match was here
# | stxvd2x 2, 7, 8
# | ^
# | <stdin>:290:10: note: previous match ended here
# | li 4, 48
# | ^
# | <stdin>:291:1: note: non-matching line after previous match is here
# | stxvd2x 2, 7, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-by-byte-multiple-legalization.ll:871:18: error: LE-64BIT-NEXT: is not on the line after the previous match
# | ; LE-64BIT-NEXT: stxvd2x 2, 7, 8
# | ^
# | <stdin>:338:2: note: 'next' match was here
# | stxvd2x 2, 7, 8
# | ^
# | <stdin>:336:10: note: previous match ended here
# | li 4, 48
# | ^
# | <stdin>:337:1: note: non-matching line after previous match is here
# | stxvd2x 2, 7, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-by-byte-multiple-legalization.ll:1114:18: error: LE-64BIT-NEXT: is not on the line after the previous match
# | ; LE-64BIT-NEXT: lxvd2x 1, 0, 3
# | ^
# | <stdin>:410:2: note: 'next' match was here
# | lxvd2x 1, 0, 3
# | ^
# | <stdin>:407:13: note: previous match ended here
# | lwz 4, 0(4)
# | ^
# | <stdin>:408:1: note: non-matching line after previous match is here
# | xxlxor 2, 2, 2
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-by-byte-multiple-legalization.ll:1288:18: error: LE-64BIT-NEXT: is not on the line after the previous match
# | ; LE-64BIT-NEXT: lxvd2x 1, 0, 3
# | ^
# | <stdin>:459:2: note: 'next' match was here
# | lxvd2x 1, 0, 3
# | ^
# | <stdin>:456:13: note: previous match ended here
# | lwz 4, 0(4)
# | ^
# | <stdin>:457:1: note: non-matching line after previous match is here
# | xxlxor 2, 2, 2
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-by-byte-multiple-legalization.ll:1426:18: error: LE-64BIT-NEXT: is not on the line after the previous match
# | ; LE-64BIT-NEXT: li 7, 48
# | ^
# | <stdin>:507:2: note: 'next' match was here
# | li 7, 48
# | ^
# | <stdin>:505:16: note: previous match ended here
# | lxvd2x 1, 0, 3
# | ^
# | <stdin>:506:1: note: non-matching line after previous match is here
# | xxlxor 2, 2, 2
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-by-byte-multiple-legalization.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 285: xxlxor 2, 2, 2
# | 286: addi 7, 1, -64
# | 287: li 8, 32
# | 288: lxvd2x 0, 3, 6
# | 289: lwz 3, 0(4)
# | 290: li 4, 48
# | next:697'0 { search range start (exclusive)
# | 291: stxvd2x 2, 7, 4
# | 292: stxvd2x 2, 7, 8
# | next:697'1 !~~~~~~~~~~~~~~ error: match on wrong line
# | 293: rlwinm 4, 3, 0, 27, 28
# | 294: stxvd2x 1, 0, 7
# | 295: rlwinm 3, 3, 3, 26, 28
# | 296: stxvd2x 0, 7, 6
# | 297: ldux 6, 4, 7
# | .
# | .
# | .
# | 321: # -- End function
# | 322: .globl lshr_32bytes_wordOff # -- Begin function lshr_32bytes_wordOff
# | 323: .p2align 2
# | 324: .prefalign 4, .Lfunc_end13, nop
# | 325: .type lshr_32bytes_wordOff, at function
# | 326: lshr_32bytes_wordOff: # @lshr_32bytes_wordOff
# | next:697'2 } search range end (exclusive)
# | 327: .Lfunc_begin13:
# | 328: # %bb.0:
# | 329: li 6, 16
# | 330: lxvd2x 1, 0, 3
# | 331: xxlxor 2, 2, 2
# | 332: addi 7, 1, -64
# | 333: li 8, 32
# | 334: lxvd2x 0, 3, 6
# | 335: lwz 3, 0(4)
# | 336: li 4, 48
# | next:871'0 { search range start (exclusive)
# | 337: stxvd2x 2, 7, 4
# | 338: stxvd2x 2, 7, 8
# | next:871'1 !~~~~~~~~~~~~~~ error: match on wrong line
# | 339: rlwinm 4, 3, 2, 27, 28
# | 340: stxvd2x 1, 0, 7
# | 341: rlwinm 3, 3, 5, 26, 26
# | 342: stxvd2x 0, 7, 6
# | 343: ldux 6, 4, 7
# | .
# | .
# | .
# | 367: # -- End function
# | 368: .globl lshr_32bytes_dwordOff # -- Begin function lshr_32bytes_dwordOff
# | 369: .p2align 2
# | 370: .prefalign 4, .Lfunc_end14, nop
# | 371: .type lshr_32bytes_dwordOff, at function
# | 372: lshr_32bytes_dwordOff: # @lshr_32bytes_dwordOff
# | next:871'2 } search range end (exclusive)
# | 373: .Lfunc_begin14:
# | 374: # %bb.0:
# | 375: li 6, 16
# | 376: lxvd2x 1, 0, 3
# | 377: xxlxor 2, 2, 2
# | .
# | .
# | .
# | 402: .type shl_32bytes, at function
# | 403: shl_32bytes: # @shl_32bytes
# | 404: .Lfunc_begin15:
# | 405: # %bb.0:
# | 406: li 6, 16
# | 407: lwz 4, 0(4)
# | next:1114'0 { search range start (exclusive)
# | 408: xxlxor 2, 2, 2
# | 409: addi 7, 1, -64
# | 410: lxvd2x 1, 0, 3
# | next:1114'1 !~~~~~~~~~~~~~ error: match on wrong line
# | 411: addi 8, 1, -32
# | 412: lxvd2x 0, 3, 6
# | 413: stxvd2x 2, 7, 6
# | 414: li 6, 48
# | 415: rlwinm 3, 4, 0, 27, 28
# | .
# | .
# | .
# | 447: # -- End function
# | 448: .globl shl_32bytes_wordOff # -- Begin function shl_32bytes_wordOff
# | 449: .p2align 2
# | 450: .prefalign 4, .Lfunc_end16, nop
# | 451: .type shl_32bytes_wordOff, at function
# | 452: shl_32bytes_wordOff: # @shl_32bytes_wordOff
# | next:1114'2 } search range end (exclusive)
# | 453: .Lfunc_begin16:
# | 454: # %bb.0:
# | 455: li 6, 16
# | 456: lwz 4, 0(4)
# | next:1288'0 { search range start (exclusive)
# | 457: xxlxor 2, 2, 2
# | 458: addi 7, 1, -64
# | 459: lxvd2x 1, 0, 3
# | next:1288'1 !~~~~~~~~~~~~~ error: match on wrong line
# | 460: addi 8, 1, -32
# | 461: lxvd2x 0, 3, 6
# | 462: stxvd2x 2, 7, 6
# | 463: li 6, 48
# | 464: rlwinm 3, 4, 2, 27, 28
# | .
# | .
# | .
# | 496: # -- End function
# | 497: .globl shl_32bytes_dwordOff # -- Begin function shl_32bytes_dwordOff
# | 498: .p2align 2
# | 499: .prefalign 4, .Lfunc_end17, nop
# | 500: .type shl_32bytes_dwordOff, at function
# | 501: shl_32bytes_dwordOff: # @shl_32bytes_dwordOff
# | next:1288'2 } search range end (exclusive)
# | 502: .Lfunc_begin17:
# | 503: # %bb.0:
# | 504: li 6, 16
# | 505: lxvd2x 1, 0, 3
# | next:1426'0 { search range start (exclusive)
# | 506: xxlxor 2, 2, 2
# | 507: li 7, 48
# | next:1426'1 !~~~~~~~ error: match on wrong line
# | 508: lxvd2x 0, 3, 6
# | 509: lwz 3, 0(4)
# | 510: addi 4, 1, -64
# | 511: stxvd2x 2, 4, 6
# | 512: rlwinm 3, 3, 3, 27, 28
# | .
# | .
# | .
# | 530: # -- End function
# | 531: .globl ashr_32bytes # -- Begin function ashr_32bytes
# | 532: .p2align 2
# | 533: .prefalign 4, .Lfunc_end18, nop
# | 534: .type ashr_32bytes, at function
# | 535: ashr_32bytes: # @ashr_32bytes
# | next:1426'2 } search range end (exclusive)
# | 536: .Lfunc_begin18:
# | 537: # %bb.0:
# | 538: ld 6, 24(3)
# | 539: lxvd2x 0, 0, 3
# | 540: lwz 4, 0(4)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/PowerPC/wide-scalar-shift-legalization.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-legalization.ll -mtriple=powerpc64le-unknown-linux-gnu | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-legalization.ll --check-prefixes=ALL,LE,LE-64BIT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=powerpc64le-unknown-linux-gnu
# 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\llvm\test\CodeGen\PowerPC\wide-scalar-shift-legalization.ll' --check-prefixes=ALL,LE,LE-64BIT
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-legalization.ll:438:18: error: LE-64BIT-NEXT: is not on the line after the previous match
# | ; LE-64BIT-NEXT: stxvd2x 2, 7, 8
# | ^
# | <stdin>:201:2: note: 'next' match was here
# | stxvd2x 2, 7, 8
# | ^
# | <stdin>:199:10: note: previous match ended here
# | li 4, 48
# | ^
# | <stdin>:200:1: note: non-matching line after previous match is here
# | stxvd2x 2, 7, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-legalization.ll:608:18: error: LE-64BIT-NEXT: is not on the line after the previous match
# | ; LE-64BIT-NEXT: lxvd2x 1, 0, 3
# | ^
# | <stdin>:244:2: note: 'next' match was here
# | lxvd2x 1, 0, 3
# | ^
# | <stdin>:241:13: note: previous match ended here
# | lwz 4, 0(4)
# | ^
# | <stdin>:242:1: note: non-matching line after previous match is here
# | xxlxor 2, 2, 2
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\wide-scalar-shift-legalization.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 194: xxlxor 2, 2, 2
# | 195: addi 7, 1, -64
# | 196: li 8, 32
# | 197: lxvd2x 0, 3, 6
# | 198: lwz 3, 0(4)
# | 199: li 4, 48
# | next:438'0 { search range start (exclusive)
# | 200: stxvd2x 2, 7, 4
# | 201: stxvd2x 2, 7, 8
# | next:438'1 !~~~~~~~~~~~~~~ error: match on wrong line
# | 202: rlwinm 4, 3, 29, 27, 28
# | 203: stxvd2x 1, 0, 7
# | 204: clrlwi 3, 3, 26
# | 205: stxvd2x 0, 7, 6
# | 206: xori 8, 3, 63
# | .
# | .
# | .
# | 232: # -- End function
# | 233: .globl shl_32bytes # -- Begin function shl_32bytes
# | 234: .p2align 2
# | 235: .prefalign 4, .Lfunc_end10, nop
# | 236: .type shl_32bytes, at function
# | 237: shl_32bytes: # @shl_32bytes
# | next:438'2 } search range end (exclusive)
# | 238: .Lfunc_begin10:
# | 239: # %bb.0:
# | 240: li 6, 16
# | 241: lwz 4, 0(4)
# | next:608'0 { search range start (exclusive)
# | 242: xxlxor 2, 2, 2
# | 243: addi 7, 1, -64
# | 244: lxvd2x 1, 0, 3
# | next:608'1 !~~~~~~~~~~~~~ error: match on wrong line
# | 245: addi 8, 1, -32
# | 246: lxvd2x 0, 3, 6
# | 247: stxvd2x 2, 7, 6
# | 248: li 6, 48
# | 249: rlwinm 3, 4, 29, 27, 28
# | .
# | .
# | .
# | 281: # -- End function
# | 282: .globl ashr_32bytes # -- Begin function ashr_32bytes
# | 283: .p2align 2
# | 284: .prefalign 4, .Lfunc_end11, nop
# | 285: .type ashr_32bytes, at function
# | 286: ashr_32bytes: # @ashr_32bytes
# | next:608'2 } search range end (exclusive)
# | 287: .Lfunc_begin11:
# | 288: # %bb.0:
# | 289: ld 6, 24(3)
# | 290: lxvd2x 0, 0, 3
# | 291: lwz 4, 0(4)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/229722
More information about the llvm-commits
mailing list