[llvm] [llvm-exegesis] Process memory operands with unsuitable register class (PR #190342)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 9 10:47:39 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 172270 tests passed
* 3129 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM-Unit
<details>
<summary>LLVM-Unit.tools/llvm-exegesis/_/LLVMExegesisTests/48/69</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/tools/llvm-exegesis/./LLVMExegesisTests-LLVM-Unit-1204966-48-69.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=69 GTEST_SHARD_INDEX=48 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/tools/llvm-exegesis/./LLVMExegesisTests
--
Note: This is test shard 49 of 69.
[==========] Running 2 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 1 test from X86ParallelSnippetGeneratorTest
[ RUN ] X86ParallelSnippetGeneratorTest.MemoryUse
[ OK ] X86ParallelSnippetGeneratorTest.MemoryUse (3 ms)
[----------] 1 test from X86ParallelSnippetGeneratorTest (3 ms total)
[----------] 1 test from PPCParallelSnippetGeneratorTest
[ RUN ] PPCParallelSnippetGeneratorTest.MemoryUse
LLVMExegesisTests: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCRegisterInfo.h:475: const MCRegisterClass &llvm::MCRegisterInfo::getRegClass(unsigned int) const: Assertion `i < getNumRegClasses() && "Register Class ID out of range"' failed.
#0 0x0000000002280258 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
#1 0x000000000227d1d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x0000000002281061 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
#3 0x00007d02bead6330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007d02beb2fb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007d02bead627e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007d02beab98ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x00007d02beab981b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
#8 0x00007d02beacc517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
#9 0x00000000036f78fb operator[] /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:248:7
#10 0x00000000036f78fb llvm::exegesis::SnippetGenerator::instantiateMemoryOperands(llvm::exegesis::LLVMState const&, llvm::exegesis::InstructionTemplate&, llvm::MCRegister, unsigned int, std::vector<llvm::MCInst, std::allocator<llvm::MCInst>>&, llvm::BitVector const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp:243:33
#11 0x00000000036e9504 llvm::exegesis::ParallelSnippetGenerator::callInstantiateMemoryOperands(llvm::MCRegister, std::vector<llvm::exegesis::InstructionTemplate, std::allocator<llvm::exegesis::InstructionTemplate>>&, std::vector<llvm::MCInst, std::allocator<llvm::MCInst>>&, llvm::BitVector const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-exegesis/lib/ParallelSnippetGenerator.cpp:102:20
#12 0x00000000036eb6a0 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
#13 0x00000000036eb6a0 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
#14 0x00000000036eb6a0 llvm::exegesis::ParallelSnippetGenerator::generateCodeTemplates(llvm::exegesis::InstructionTemplate, llvm::BitVector const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-exegesis/lib/ParallelSnippetGenerator.cpp:360:14
#15 0x000000000214c4b2 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
#16 0x000000000214c4b2 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
#17 0x000000000214c4b2 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
#18 0x000000000214c4b2 ~InstructionTemplate /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-exegesis/lib/CodeTemplate.h:25:8
#19 0x000000000214c4b2 checkAndGetCodeTemplates /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/tools/llvm-exegesis/PowerPC/SnippetGeneratorTest.cpp:38:32
#20 0x000000000214c4b2 llvm::exegesis::(anonymous namespace)::PPCParallelSnippetGeneratorTest_MemoryUse_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/tools/llvm-exegesis/PowerPC/SnippetGeneratorTest.cpp:115:30
#21 0x0000000003680800 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#22 0x0000000003680800 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#23 0x00000000036815e0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#24 0x00000000036815e0 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#25 0x00000000036821f3 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#26 0x0000000003693404 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#27 0x00000000036927b9 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#28 0x000000000366c9fa main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#29 0x00007d02beabb1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#30 0x00007d02beabb28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#31 0x0000000002088ee5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/tools/llvm-exegesis/./LLVMExegesisTests+0x2088ee5)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/tools/llvm-exegesis/./LLVMExegesisTests-LLVM-Unit-1204966-48-69.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/190342
More information about the llvm-commits
mailing list