[all-commits] [llvm/llvm-project] 6d2e5c: LowerMemIntrinsics: Skip memmove with different ad...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Jun 10 09:28:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d2e5c3445c1b9509e1856601913b0a01bfb2864
      https://github.com/llvm/llvm-project/commit/6d2e5c3445c1b9509e1856601913b0a01bfb2864
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-06-10 (Sat, 10 Jun 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h
    M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
    M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
    M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll

  Log Message:
  -----------
  LowerMemIntrinsics: Skip memmove with different address spaces

This is a quick fix for an assert when the source and dest have
different address spaces. The pointer compare needs to have matching
types, but we can't generically introduce addrspacecast and we don't
know if the address spaces alias.




More information about the All-commits mailing list