[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 14:26:50 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-devrel-x86-64` running on `ml-opt-devrel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/12446
<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/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,+real-true16 -show-encoding /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck --check-prefixes=GFX11,W32 /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck --check-prefixes=GFX11,W32 /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
+ not /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,+real-true16 -show-encoding /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
llvm-mc: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/ADT/SmallVector.h:295: const T& llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::operator[](llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::size_type) const [with T = llvm::MCOperand; <template-parameter-1-2> = void; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::const_reference = const llvm::MCOperand&; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::size_type = long unsigned int]: 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/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,+real-true16 -show-encoding /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
#0 0x0000562be9b9e428 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc+0xda2428)
#1 0x0000562be9b9ba44 SignalHandler(int) Signals.cpp:0:0
#2 0x00007f2f631bd140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
#3 0x00007f2f62cbed51 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d51)
#4 0x00007f2f62ca8537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
#5 0x00007f2f62ca840f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
#6 0x00007f2f62cb76d2 (/lib/x86_64-linux-gnu/libc.so.6+0x316d2)
#7 0x0000562be94059f1 (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
#8 0x0000562be94071d2 (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
#9 0x0000562be9b00c42 (anonymous namespace)::AsmParser::parseAndMatchAndEmitTargetInstruction((anonymous namespace)::ParseStatementInfo&, llvm::StringRef, llvm::AsmToken, llvm::SMLoc) AsmParser.cpp:0:0
#10 0x0000562be9b19e33 (anonymous namespace)::AsmParser::parseStatement((anonymous namespace)::ParseStatementInfo&, llvm::MCAsmParserSemaCallback*) (.part.0) AsmParser.cpp:0:0
#11 0x0000562be9b0e6b3 (anonymous namespace)::AsmParser::Run(bool, bool) AsmParser.cpp:0:0
#12 0x0000562be934f919 main (/b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc+0x553919)
#13 0x00007f2f62ca9d7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#14 0x0000562be93641aa _start (/b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc+0x5681aa)
error: Aborted
FileCheck error: '<stdin>' is empty.
FileCheck command line: /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck --check-prefixes=GFX11,W32 /b/ml-opt-devrel-x86-64-b1/llvm-project/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