[all-commits] [llvm/llvm-project] f33fd4: [NFC] Refactor memory ops cluster method

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Sat Jan 11 21:16:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f33fd43a7c91f1774a9512bbdb78c367cd23d233
      https://github.com/llvm/llvm-project/commit/f33fd43a7c91f1774a9512bbdb78c367cd23d233
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

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

  Log Message:
  -----------
  [NFC] Refactor memory ops cluster method

Current implementation of BaseMemOpsClusterMutation is a little bit
obscure. This patch directly uses a map from store chain ID to set of
memory instrs to make it simpler, so that future improvements are easier
to read, update and review.

Reviewed By: evandro

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




More information about the All-commits mailing list