[all-commits] [llvm/llvm-project] f4a29d: [LowerMatrixIntrinsics] Avoid use of ptrtoint (#18...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Feb 19 07:24:22 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4a29d9278d45d73cd6fcf74a0faea0f72fc259f
      https://github.com/llvm/llvm-project/commit/f4a29d9278d45d73cd6fcf74a0faea0f72fc259f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-02-19 (Thu, 19 Feb 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    M llvm/test/Transforms/LowerMatrixIntrinsics/data-layout-multiply-fused.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-dominance.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-multiple-blocks.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused.ll

  Log Message:
  -----------
  [LowerMatrixIntrinsics] Avoid use of ptrtoint (#182289)

The ptrtoint result here is used in icmp. However, icmp can already
directly work with pointers, so there's no need to perform the cast.

(I originally wanted to switch this to ptrtoaddr, but that's not really
necessary when we can directly compare on pointers.)



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