[all-commits] [llvm/llvm-project] ef8322: [MLIR][LLVM] Improve bit- and addrspacecast folder...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Fri Apr 5 00:14:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef8322f41d542bcf05dbe6079339d707534efbed
      https://github.com/llvm/llvm-project/commit/ef8322f41d542bcf05dbe6079339d707534efbed
  Author: Christian Ulmann <christianulmann at gmail.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Dialect/LLVMIR/canonicalize.mlir
    M mlir/test/Dialect/LLVMIR/mem2reg.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Improve bit- and addrspacecast folders (#87745)

This commit extends the folders of chainable casts (bitcast and
addrspacecast) to ensure that they fold a chain of the same casts into a
single cast.

Additionally cleans up the canonicalization test file, as this used some
outdated constructs.



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