[all-commits] [llvm/llvm-project] 7fc731: [RDF] Clang-format the sources, NFC

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Jun 8 11:08:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fc73104e8280a6806f47c5621f0e9283be7bce7
      https://github.com/llvm/llvm-project/commit/7fc73104e8280a6806f47c5621f0e9283be7bce7
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/RDFGraph.h
    M llvm/include/llvm/CodeGen/RDFLiveness.h
    M llvm/include/llvm/CodeGen/RDFRegisters.h
    M llvm/lib/CodeGen/RDFGraph.cpp
    M llvm/lib/CodeGen/RDFLiveness.cpp
    M llvm/lib/CodeGen/RDFRegisters.cpp

  Log Message:
  -----------
  [RDF] Clang-format the sources, NFC


  Commit: fc3ad148cdf8158e07b59f16c1f124143e6edfbf
      https://github.com/llvm/llvm-project/commit/fc3ad148cdf8158e07b59f16c1f124143e6edfbf
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/RDFGraph.h
    M llvm/include/llvm/CodeGen/RDFLiveness.h
    M llvm/include/llvm/CodeGen/RDFRegisters.h
    M llvm/lib/CodeGen/RDFGraph.cpp

  Log Message:
  -----------
  [RDF] Use RegisterAggr instead of RegisterSet in few places

This shouldn't change any functionality.


  Commit: c6ddd04d73c31d970176df3e52edfd7a58e91d86
      https://github.com/llvm/llvm-project/commit/c6ddd04d73c31d970176df3e52edfd7a58e91d86
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M llvm/lib/CodeGen/RDFGraph.cpp
    M llvm/lib/CodeGen/RDFLiveness.cpp
    M llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
    M llvm/test/CodeGen/Hexagon/newify-crash.ll

  Log Message:
  -----------
  [RDF] Create individual phi for each indivisible register

This isn't quite using register units, but it's getting close. The phi
generation is driven by register units, but each phi still contains a
reference to a register, potentially with a mask that amounts to a unit.
In cases of explicit register aliasing this may still create phis with
references that are aliased, whereas separate phis would ideally contain
disjoint references (this is all within a single basic block).

Previously phis used maximal registers, now they use minimal. This is a
step towards both, using register units directly, and a simpler liveness
calculation algorithm. The idea is that a phi cannot reach a reference
to anything smaller than the phi itself represents. Before there could
be a phi for R1_R0, now there will be two for this case (assuming R0 and
R1 have one unit each).


  Commit: f10f7b0dcafec3913cfe4bcff41cd5a2697ddd46
      https://github.com/llvm/llvm-project/commit/f10f7b0dcafec3913cfe4bcff41cd5a2697ddd46
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/RDFRegisters.h
    M llvm/lib/CodeGen/RDFGraph.cpp
    M llvm/lib/CodeGen/RDFLiveness.cpp

  Log Message:
  -----------
  [RDF] Add RegisterAggr::refs to return iterator range, NFC


Compare: https://github.com/llvm/llvm-project/compare/382550bf334b...f10f7b0dcafe


More information about the All-commits mailing list