[clang] [llvm] [AMDGPU] Fix missing cache bypass scope on seq_cst buffer fat pointer atomics (PR #213585)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 6 04:04:48 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 180012 tests passed
* 3632 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Target/LLVMIR/rocdl.mlir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/rocdl.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/rocdl.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/rocdl.mlir
# .---command stderr------------
# | mlir-translate: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Instructions.cpp:776: void llvm::CallInst::init(FunctionType *, Value *, ArrayRef<Value *>, ArrayRef<OperandBundleDef>, const Twine &): Assertion `(Args.size() == FTy->getNumParams() || (FTy->isVarArg() && Args.size() > FTy->getNumParams())) && "Calling a function with bad signature!"' failed.
# | 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/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/rocdl.mlir
# | #0 0x0000000000e5962b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x0000000000e56561 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x0000000000e5a74b SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x00007fc1ea8e5330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007fc1ea93eb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007fc1ea8e527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007fc1ea8c88ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007fc1ea8c881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007fc1ea8db517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x00000000034d35a8 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate+0x34d35a8)
# | #10 0x000000000188086d llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*>>, llvm::Twine const&, llvm::InsertPosition) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Instructions.h:1639:5
# | #11 0x0000000001880411 llvm::IRBuilderBase::CreateCall(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*>>, llvm::Twine const&, llvm::MDNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2575:20
# | #12 0x00000000018713a7 CreateCall /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2611:12
# | #13 0x00000000018713a7 mlir::LLVM::detail::createIntrinsicCall(llvm::IRBuilderBase&, mlir::LLVM::ModuleTranslation&, mlir::Operation*, unsigned int, unsigned int, llvm::ArrayRef<unsigned int>, llvm::ArrayRef<unsigned int>, llvm::ArrayRef<unsigned int>, llvm::ArrayRef<llvm::StringLiteral>) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1021:18
# | #14 0x0000000002663d93 (anonymous namespace)::ROCDLDialectLLVMIRTranslationInterface::convertOperation(mlir::Operation*, llvm::IRBuilderBase&, mlir::LLVM::ModuleTranslation&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/LLVMIR/ROCDLConversions.inc:1699:18
# | #15 0x0000000001871e78 mlir::LLVM::ModuleTranslation::convertOperationImpl(mlir::Operation&, llvm::IRBuilderBase&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1037:7
# | #16 0x00000000018725e8 mlir::LLVM::ModuleTranslation::convertBlockImpl(mlir::Block&, bool, llvm::IRBuilderBase&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1087:9
# | #17 0x0000000001878684 mlir::LLVM::ModuleTranslation::convertOneFunction(mlir::LLVM::LLVMFuncOp) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1727:16
# | #18 0x000000000187c0a3 mlir::LLVM::ModuleTranslation::convertFunctions() /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:2156:9
# | #19 0x000000000187f756 mlir::translateModuleToLLVMIR(mlir::Operation*, llvm::LLVMContext&, llvm::StringRef, bool, llvm::vfs::FileSystem*) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:2672:7
# | #20 0x000000000186b338 _M_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:199:51
# | #21 0x000000000186b338 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:470:21
# | #22 0x000000000186b338 operator bool /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:487:16
# | #23 0x000000000186b338 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp:31:14
# | #24 0x000000000186b338 __invoke_impl<llvm::LogicalResult, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp:28:7) &, mlir::Operation *, llvm::raw_ostream &> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61:14
# | #25 0x000000000186b338 __invoke_r<llvm::LogicalResult, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp:28:7) &, mlir::Operation *, llvm::raw_ostream &> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:114:9
# | #26 0x000000000186b338 std::_Function_handler<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&), mlir::registerToLLVMIRTranslation()::$_0>::_M_invoke(std::_Any_data const&, mlir::Operation*&&, llvm::raw_ostream&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:290:9
# | #27 0x0000000000f84468 operator() /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:591:9
# | #28 0x0000000000f84468 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-translate/Translation.cpp:152:16
# | #29 0x0000000000f84468 __invoke_impl<llvm::LogicalResult, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-translate/Translation.cpp:140:7) &, const std::shared_ptr<llvm::SourceMgr> &, llvm::raw_ostream &, mlir::MLIRContext *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:61:14
# | #30 0x0000000000f84468 __invoke_r<llvm::LogicalResult, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-translate/Translation.cpp:140:7) &, const std::shared_ptr<llvm::SourceMgr> &, llvm::raw_ostream &, mlir::MLIRContext *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/invoke.h:114:9
# | #31 0x0000000000f84468 std::_Function_handler<llvm::LogicalResult (std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*), mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::function<void (mlir::DialectRegistry&)> const&)::$_0>::_M_invoke(std::_Any_data const&, std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:290:9
# | #32 0x0000000000e1febd operator() /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:591:9
# | #33 0x0000000000e1febd operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Tools/mlir-translate/Translation.h:81:12
# | #34 0x0000000000e1febd operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp:187:18
# | #35 0x0000000000e1febd llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_1>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
# | #36 0x0000000000f93199 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6
# | #37 0x0000000000f93199 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:69:5
# | #38 0x0000000000f93199 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Support/ToolUtilities.cpp:111:12
# | #39 0x0000000000f93199 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>::callback_fn<mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::$_0>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
# | #40 0x0000000000f92c26 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:69:12
# | #41 0x0000000000f92c26 mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Support/ToolUtilities.cpp:30:12
# | #42 0x0000000000f92f67 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6
# | #43 0x0000000000f92f67 mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<ll
# | ...
# `---data was truncated (10240/11034) (change limit with -D output_limit=N)
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/rocdl.mlir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/rocdl.mlir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</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/213585
More information about the cfe-commits
mailing list