[all-commits] [llvm/llvm-project] b6bbc4: [InstCombine] Support ptrtoaddr of ptrmask fold

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Oct 28 04:25:56 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/ptrtoaddr.ll

  Log Message:
  -----------
  [InstCombine] Support ptrtoaddr of ptrmask fold

For now not trying to share the code with ptrtoint, as there's very
little code.

Also fix IRBuilder::CreatePtrToAddr to actually create a PtrToAddr
instruction...



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