[all-commits] [llvm/llvm-project] 9f59d1: [AMDGPU] Remove Def argument from WaitcntBrackets:...

jayfoad via All-commits all-commits at lists.llvm.org
Thu Apr 30 00:53:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f59d1931c714665bc2d055983204ddcb8e097be
      https://github.com/llvm/llvm-project/commit/9f59d1931c714665bc2d055983204ddcb8e097be
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

  Log Message:
  -----------
  [AMDGPU] Remove Def argument from WaitcntBrackets::getRegInterval. NFC.

It's cleaner to check this in the callers instead.


  Commit: 86545bf72dceadfd415a3336c6d10388c91d2035
      https://github.com/llvm/llvm-project/commit/86545bf72dceadfd415a3336c6d10388c91d2035
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

  Log Message:
  -----------
  [AMDGPU] Simplify loops in SIInsertWaitcnts::generateWaitcntInstBefore

The loops over use operands and def operands were mostly identical.
Combine them, and likewise for load memoperands and store memoperands.
NFC.


Compare: https://github.com/llvm/llvm-project/compare/97c407db7725...86545bf72dce


More information about the All-commits mailing list