[all-commits] [llvm/llvm-project] 91665e: [CodeGen] Don't derive MODereferenceable from !der...

Alex MacLean via All-commits all-commits at lists.llvm.org
Wed Sep 9 10:35:41 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91665e7aa17c4d829be459db92856eb0dbb32620
      https://github.com/llvm/llvm-project/commit/91665e7aa17c4d829be459db92856eb0dbb32620
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    A llvm/test/CodeGen/AArch64/dereferenceable-metadata-mmo.ll

  Log Message:
  -----------
  [CodeGen] Don't derive MODereferenceable from !dereferenceable metadata (#222069)

The two facts are about different pointers. `!dereferenceable` on a load
"tells the optimizer that the value loaded is known to be
dereferenceable" while `MachineMemOperand::MODereferenceable` says the
access itself doesn't trap.



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