[llvm] [Hexagon] Implement shouldConvertConstantLoadToIntImm (PR #146452)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 30 00:35:51 PDT 2025
fossdd wrote:
Hi, this commit currently leads to a test fail with 21-rc1 and -rc2 on Alpine Linux edge on all architectures:
```
FAIL: LLVM :: CodeGen/Hexagon/hexagon-strcpy.ll (13273 of 59975)
******************** TEST 'LLVM :: CodeGen/Hexagon/hexagon-strcpy.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/builds/alpine/aports/testing/llvm21/src/llvm-project-21.1.0-rc1.src/build/bin/llc -march=hexagon -verify-machineinstrs < /builds/alpine/aports/testing/llvm21/src/llvm-project-21.1.0-rc1.src/llvm/test/CodeGen/Hexagon/hexagon-strcpy.ll | /builds/alpine/aports/testing/llvm21/src/llvm-project-21.1.0-rc1.src/build/bin/FileCheck /builds/alpine/aports/testing/llvm21/src/llvm-project-21.1.0-rc1.src/llvm/test/CodeGen/Hexagon/hexagon-strcpy.ll # RUN: at line 2
+ /builds/alpine/aports/testing/llvm21/src/llvm-project-21.1.0-rc1.src/build/bin/llc -march=hexagon -verify-machineinstrs
+ /builds/alpine/aports/testing/llvm21/src/llvm-project-21.1.0-rc1.src/build/bin/FileCheck /builds/alpine/aports/testing/llvm21/src/llvm-project-21.1.0-rc1.src/llvm/test/CodeGen/Hexagon/hexagon-strcpy.ll
/builds/alpine/aports/testing/llvm21/src/llvm-project-21.1.0-rc1.src/llvm/test/CodeGen/Hexagon/hexagon-strcpy.ll:15:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: .cfi_def_cfa r30, 8
^
<stdin>:16:2: note: 'next' match was here
.cfi_def_cfa r30, 8
^
<stdin>:10:20: note: previous match ended here
// %bb.0: // %entry
^
<stdin>:11:1: note: non-matching line after previous match is here
{
^
Input file: <stdin>
Check file: /builds/alpine/aports/testing/llvm21/src/llvm-project-21.1.0-rc1.src/llvm/test/CodeGen/Hexagon/hexagon-strcpy.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
11: {
12: r0 = ##.L.str1
13: r3:2 = CONST64(#2325073635944967245)
14: allocframe(r29,#32):raw
15: }
16: .cfi_def_cfa r30, 8
next:15 !~~~~~~~~~~~~~~~~~~ error: match on wrong line
17: .cfi_offset r31, -4
18: .cfi_offset r30, -8
19: {
20: r1 = add(r29,#0)
21: r5:4 = CONST64(#4706902966564560965)
.
.
.
>>>>>>
```
Do you understand whats going on here?
https://github.com/llvm/llvm-project/pull/146452
More information about the llvm-commits
mailing list