[all-commits] [llvm/llvm-project] 0b4af3: [llvm][SelectionDAG] Relax llvm.ptrmask's size che...

Jon Roelofs via All-commits all-commits at lists.llvm.org
Mon Jun 3 15:26:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b4af3a5f4de61552000e4a864f63f2002cc525b
      https://github.com/llvm/llvm-project/commit/0b4af3a5f4de61552000e4a864f63f2002cc525b
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/AArch64/lower-ptrmask-arm64_32.ll

  Log Message:
  -----------
  [llvm][SelectionDAG] Relax llvm.ptrmask's size check on arm64_32 (#94125)

Since pointers in memory, as well as the index type are both 32 bits,
but in registers pointers are 64 bits, the mask generated by
llvm.ptrmask needs to be zero-extended.

Fixes: #94075
Fixes: rdar://125263567



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