[PATCH] D107017: [GlobalISel] Allow the ArtifactValueFinder to return the best available register on failure.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 3 23:50:36 PDT 2021


aemerson updated this revision to Diff 363976.
aemerson added a comment.
Herald added subscribers: kerbowa, nhaehnle, jvesely.

Change API to return an empty Register if the best register found is the same as the one being examined.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107017/new/

https://reviews.llvm.org/D107017

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-inserts.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/bug-legalization-artifact-combiner-dead-def.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107017.363976.patch
Type: text/x-patch
Size: 23671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210804/aa98d727/attachment.bin>


More information about the llvm-commits mailing list