[all-commits] [llvm/llvm-project] 70c781: [SIFoldOperands] Move `isFoldableCopy` into a sepa...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Mon Nov 7 23:44:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70c781f4b6f4b9aa851dbf950b53569a8f8bd1e8
      https://github.com/llvm/llvm-project/commit/70c781f4b6f4b9aa851dbf950b53569a8f8bd1e8
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

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

  Log Message:
  -----------
  [SIFoldOperands] Move `isFoldableCopy` into a separate helper, NFC.

There was quite a bit of logic there that was just in the middle of core loop. I think it makes it easier to follow when it's split off in a separate helper like the others.

Reviewed By: arsenm

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




More information about the All-commits mailing list