[llvm] [AMDGPU][True16][MC] validate op_sel and .l/.h syntax (PR #123250)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 15:33:36 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` running on `gribozavr4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/17583

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: MC/AMDGPU/gfx11_asm_vop3_from_vopc.s' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 2: not /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,+real-true16 -show-encoding /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck --check-prefixes=GFX11,W32 /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
+ not /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,+real-true16 -show-encoding /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
llvm-mc: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/ADT/SmallVector.h:295: llvm::SmallVectorTemplateCommon::const_reference llvm::SmallVectorTemplateCommon<llvm::MCOperand, void>::operator[](llvm::SmallVectorTemplateCommon::size_type) const [T = llvm::MCOperand]: Assertion `idx < size()' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,+real-true16 -show-encoding /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck --check-prefixes=GFX11,W32 /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
 #0 0x0000000000c332a7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-mc+0xc332a7)
 #1 0x0000000000c30eae llvm::sys::RunSignalHandlers() (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-mc+0xc30eae)
 #2 0x0000000000c33aaf SignalHandler(int) Signals.cpp:0:0
 #3 0x00007f3f0ea5a140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #4 0x00007f3f0e56ed51 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d51)
 #5 0x00007f3f0e558537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #6 0x00007f3f0e55840f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #7 0x00007f3f0e5676d2 (/lib/x86_64-linux-gnu/libc.so.6+0x316d2)
 #8 0x000000000048e9e7 (anonymous namespace)::AMDGPUAsmParser::validateInstruction(llvm::MCInst const&, llvm::SMLoc const&, llvm::SmallVectorImpl<std::unique_ptr<llvm::MCParsedAsmOperand, std::default_delete<llvm::MCParsedAsmOperand>>> const&) AMDGPUAsmParser.cpp:0:0
 #9 0x0000000000458f25 (anonymous namespace)::AMDGPUAsmParser::matchAndEmitInstruction(llvm::SMLoc, unsigned int&, llvm::SmallVectorImpl<std::unique_ptr<llvm::MCParsedAsmOperand, std::default_delete<llvm::MCParsedAsmOperand>>>&, llvm::MCStreamer&, unsigned long&, bool) AMDGPUAsmParser.cpp:0:0
#10 0x0000000000bbc4db (anonymous namespace)::AsmParser::parseAndMatchAndEmitTargetInstruction((anonymous namespace)::ParseStatementInfo&, llvm::StringRef, llvm::AsmToken, llvm::SMLoc) AsmParser.cpp:0:0
#11 0x0000000000baf126 (anonymous namespace)::AsmParser::parseStatement((anonymous namespace)::ParseStatementInfo&, llvm::MCAsmParserSemaCallback*) AsmParser.cpp:0:0
#12 0x0000000000ba7a32 (anonymous namespace)::AsmParser::Run(bool, bool) AsmParser.cpp:0:0
#13 0x00000000004151a6 main (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-mc+0x4151a6)
#14 0x00007f3f0e559d7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#15 0x000000000041217a _start (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/llvm-mc+0x41217a)
error: Aborted
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck --check-prefixes=GFX11,W32 /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/123250


More information about the llvm-commits mailing list