[all-commits] [llvm/llvm-project] 1e4967: [DAGISel] Keep flags when converting FP load/store...

Oliver Stannard via All-commits all-commits at lists.llvm.org
Thu Oct 10 01:18:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e49670b31e9bf79fc9d0639dcb3a71f4c7f2059
      https://github.com/llvm/llvm-project/commit/1e49670b31e9bf79fc9d0639dcb3a71f4c7f2059
  Author: Oliver Stannard <oliver.stannard at arm.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/ARM/load-store-pair-volatile.ll
    M llvm/test/CodeGen/PowerPC/aix-cc-abi-mir.ll

  Log Message:
  -----------
  [DAGISel] Keep flags when converting FP load/store to integer (#111679)

This DAG combine replaces a floating-point load/store pair which has no
other uses with an integer one, but did not copy the memory operand
flags to the new instructions, resulting in it dropping the volatile
flag. This optimisation is still valid if one or both of the
instructions is volatile, so we can copy over the whole
MachineMemOperand to generate volatile integer loads and stores where
needed.



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