[all-commits] [llvm/llvm-project] 9ceea6: [MCA][RegisterFile] Refactor the move elimination ...

Andrea Di Biagio via All-commits all-commits at lists.llvm.org
Sat May 8 10:11:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ceea66602d9c11690004020a6e7a2b0f5291bd5
      https://github.com/llvm/llvm-project/commit/9ceea66602d9c11690004020a6e7a2b0f5291bd5
  Author: Andrea Di Biagio <andrea.dibiagio at sony.com>
  Date:   2021-05-08 (Sat, 08 May 2021)

  Changed paths:
    M llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h
    M llvm/lib/MCA/HardwareUnits/RegisterFile.cpp
    M llvm/lib/MCA/Stages/DispatchStage.cpp

  Log Message:
  -----------
  [MCA][RegisterFile] Refactor the move elimination logic to address PR50258.

This patch lifts the restriction on the number of read/write registers for a
move elimination candidate.  With this patch, move elimination candidates with
exactly two reads and two writes are treated like register swap operations for
the purpose of move elimination.

This patch currently doesn't affect any upstream model. However, it should help
unblock the progress on PR50258.




More information about the All-commits mailing list