[all-commits] [llvm/llvm-project] 361c29: [RDA] Avoid inserting duplicate reaching defs (NFCI)

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Apr 7 08:50:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 361c29d7ba55ee6fb762d36c08271375bb9f8c60
      https://github.com/llvm/llvm-project/commit/361c29d7ba55ee6fb762d36c08271375bb9f8c60
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/ReachingDefAnalysis.cpp

  Log Message:
  -----------
  [RDA] Avoid inserting duplicate reaching defs (NFCI)

An instruction may define the same reg unit multiple times,
avoid inserting the same reaching def multiple times in that case.

Also print the reg unit, rather than the super-register, in the
debug code.




More information about the All-commits mailing list