[PATCH] D137538: [SIFoldOperands] Move `isFoldableCopy` into a separate helper, NFC.

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 03:36:36 PST 2022


Pierre-vh created this revision.
Pierre-vh added a reviewer: arsenm.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, jvesely.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137538

Files:
  llvm/lib/Target/AMDGPU/SIFoldOperands.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137538.473612.patch
Type: text/x-patch
Size: 6754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221107/e9eec917/attachment.bin>


More information about the llvm-commits mailing list