[all-commits] [llvm/llvm-project] 65066c: [mlir] Use `create` instead of `createOrFold` for ...

Hugo Trachino via All-commits all-commits at lists.llvm.org
Wed Jan 31 23:40:49 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65066c02770cc3da3b5154fbb7ed9df78ab94b93
      https://github.com/llvm/llvm-project/commit/65066c02770cc3da3b5154fbb7ed9df78ab94b93
  Author: Hugo Trachino <32955781+nujaa at users.noreply.github.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
    M mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp
    M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
    M mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
    M mlir/lib/Dialect/Tensor/Transforms/ConcatOpPatterns.cpp

  Log Message:
  -----------
  [mlir] Use `create` instead of `createOrFold` for ConstantOp as folding has no effect (NFC) (#80129)

This aims to clean-up confusing uses of
builder.createOrFold<ConstantOp> since folding of constants fails.




More information about the All-commits mailing list