[clang] [llvm] [clang][NVPTX] Add intrinsics and builtins for CVT RS rounding mode (PR #160494)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 5 21:00:43 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-with-thin-lto-ubuntu` running on `as-worker-92` while building `clang,llvm` at step 7 "test-stage1-compiler".

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

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

```
Step 7 (test-stage1-compiler) failure: build (failure)
...
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using ld64.lld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/ld64.lld
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using wasm-ld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/wasm-ld
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/utils/lit/tests/lit.cfg:111: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
 Some tests will be skipped and the --timeout command line argument will not work.
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using ld.lld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/ld.lld
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using lld-link: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/lld-link
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using ld64.lld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/ld64.lld
llvm-lit: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using wasm-ld: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/wasm-ld
-- Testing: 87753 tests, 72 workers --
Testing: 
FAIL: LLVM :: CodeGen/RISCV/rvv/expandload.ll (1 of 87753)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/expandload.ll' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc -verify-machineinstrs -mtriple=riscv32 -mattr=+v,+d,+m,+zbb /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/expandload.ll -o -    | /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/FileCheck /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/expandload.ll --check-prefixes=CHECK,CHECK-RV32
# executed command: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc -verify-machineinstrs -mtriple=riscv32 -mattr=+v,+d,+m,+zbb /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/expandload.ll -o -
# .---command stderr------------
# | LLVM ERROR: Cannot select: intrinsic %llvm.riscv.viota
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc -verify-machineinstrs -mtriple=riscv32 -mattr=+v,+d,+m,+zbb /home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/expandload.ll -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/expandload.ll'.
# | 2.	Running pass 'RISC-V DAG->DAG Pattern Instruction Selection' on function '@test_expandload_v1i8'
# |  #0 0x00005592c51f1330 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x3aa9330)
# |  #1 0x00005592c51ee52d SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# |  #2 0x00007fdecb29e520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
# |  #3 0x00007fdecb2f29fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
# |  #4 0x00007fdecb29e476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
# |  #5 0x00007fdecb2847f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
# |  #6 0x00005592c1daa065 llvm::DisplayGraph(llvm::StringRef, bool, llvm::GraphProgram::Name) (.cold) GraphWriter.cpp:0:0
# |  #7 0x00005592c4f8a4b5 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x38424b5)
# |  #8 0x00005592c4f8e61d llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x384661d)
# |  #9 0x00005592c31a71b7 llvm::RISCVDAGToDAGISel::Select(llvm::SDNode*) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x1a5f1b7)
# | #10 0x00005592c4f870e2 llvm::SelectionDAGISel::DoInstructionSelection() (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x383f0e2)
# | #11 0x00005592c4f93b16 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x384bb16)
# | #12 0x00005592c4f96595 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x384e595)
# | #13 0x00005592c4f981f5 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x38501f5)
# | #14 0x00005592c4f86c5d llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x383ec5d)
# | #15 0x00005592c420488d llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x2abc88d)
# | #16 0x00005592c47a6752 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x305e752)
# | #17 0x00005592c47a6914 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x305e914)
# | #18 0x00005592c47a7342 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x305f342)
# | #19 0x00005592c1ef56b9 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
# | #20 0x00005592c1dbf1c6 main (/home/buildbot/as-worker-92/clang-with-thin-lto-ubuntu/build/stage1/bin/llc+0x6771c6)
# | #21 0x00007fdecb285d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
# | #22 0x00007fdecb285e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)

```

</details>

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


More information about the llvm-commits mailing list