[all-commits] [llvm/llvm-project] 8e8f19: [mlir][amd] fix LLVM::InsertValueOp::create failur...

Maksim Levental via All-commits all-commits at lists.llvm.org
Fri Jul 25 04:56:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e8f195322a6194fbe410265ac7a7623312310c8
      https://github.com/llvm/llvm-project/commit/8e8f195322a6194fbe410265ac7a7623312310c8
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp

  Log Message:
  -----------
  [mlir][amd] fix LLVM::InsertValueOp::create failure to disambiguate (#150605)

fixes
https://github.com/llvm/llvm-project/pull/149879#issuecomment-3117145615

Note this happens because ADL can't disambiguate between
`mlir::DenseI64ArrayAttr` and `llvm::ArrayRef<int64_t>` **for the value
0** which I guess is equal to nullptr on some (most?) systems.

Note, this only occurs with the value 0.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list