[all-commits] [llvm/llvm-project] ff9958: [ARM] Test showing incorrect codegen when subreg l...

David Green via All-commits all-commits at lists.llvm.org
Wed Aug 4 06:21:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff9958b70e959bf48f5d308fb4431c76d3984ae4
      https://github.com/llvm/llvm-project/commit/ff9958b70e959bf48f5d308fb4431c76d3984ae4
  Author: David Green <david.green at arm.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    A llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir

  Log Message:
  -----------
  [ARM] Test showing incorrect codegen when subreg liveness is enabled. NFC


  Commit: eeddcba5254b62b7fef03f394820ff4314f2cf19
      https://github.com/llvm/llvm-project/commit/eeddcba5254b62b7fef03f394820ff4314f2cf19
  Author: David Green <david.green at arm.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M llvm/lib/CodeGen/ReachingDefAnalysis.cpp
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir

  Log Message:
  -----------
  [RDA] Attempt to make RDA subreg aware

This attempts to make more of RDA aware of potentially overlapping
subregisters. Some of this was already in place, with it iterating
through MCRegUnitIterators. This also replaces calls to
LiveRegs.contains(..) with !LiveRegs.available(..), and updates the
isValidRegUseOf and isValidRegDefOf to search subregs.

Differential Revision: https://reviews.llvm.org/D107351


Compare: https://github.com/llvm/llvm-project/compare/b6408fa169d6...eeddcba5254b


More information about the All-commits mailing list