[all-commits] [llvm/llvm-project] cf3765: [InstSimplify] Support ptrtoaddr in ptrmask fold

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Oct 14 04:55:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf3765752b3669eb6efba00379b95c79b86b272d
      https://github.com/llvm/llvm-project/commit/cf3765752b3669eb6efba00379b95c79b86b272d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/ptrmask.ll

  Log Message:
  -----------
  [InstSimplify] Support ptrtoaddr in ptrmask fold

Treat it the same way as ptrtoint. ptrmask only operates on the
address bits of the pointer.



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