[all-commits] [llvm/llvm-project] 6a870c: [mlir][LLVM][MemRef] Lower assume_alignment with o...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Tue Nov 26 14:56:49 PST 2024


  Branch: refs/heads/users/krzysz00/assume-operand-bundles
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a870c1e5f2a7a9f6b1b68ff4b0b45a9ffab0b22
      https://github.com/llvm/llvm-project/commit/6a870c1e5f2a7a9f6b1b68ff4b0b45a9ffab0b22
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2024-11-26 (Tue, 26 Nov 2024)

  Changed paths:
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/test/Conversion/MemRefToLLVM/expand-then-convert-to-llvm.mlir
    M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir

  Log Message:
  -----------
  [mlir][LLVM][MemRef] Lower assume_alignment with operand bundles

Now that LLVM allows a operand bundle on assume calls to directly
specify alignment assumptions, change the lowering of
memref.assume_alignment to use that feature instead of the ptrtoint
method.

This makes LLVM's job easier and prevents issues when dealing with
cases where ptrtoint isn't a desired operation (like those with poiner
provenance)



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