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

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Tue Nov 26 13:38:32 PST 2024


  Branch: refs/heads/users/krzysz00/assume-operand-bundles
  Home:   https://github.com/llvm/llvm-project
  Commit: 618466b9f4136da23b3812c81f8f7cf167acbcc5
      https://github.com/llvm/llvm-project/commit/618466b9f4136da23b3812c81f8f7cf167acbcc5
  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