[PATCH] D81445: GlobalISel: Rewrite getLCMType

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 18:50:31 PDT 2020


arsenm created this revision.
arsenm added reviewers: paquette, aemerson, dsanders, aditya_nandakumar.
Herald added subscribers: hiraditya, rovka, wdng.
Herald added a project: LLVM.
arsenm added a parent revision: D81376: GlobalISel: Add unit tests for some utils functions.

Try to make the behavior more consistent with getGCDType, and bias
towards returning something closer to the source type whenever there's
an ambiguity.


https://reviews.llvm.org/D81445

Files:
  llvm/include/llvm/CodeGen/GlobalISel/Utils.h
  llvm/lib/CodeGen/GlobalISel/Utils.cpp
  llvm/unittests/CodeGen/GlobalISel/GISelUtilsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81445.269398.patch
Type: text/x-patch
Size: 7628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200609/416b78c7/attachment.bin>


More information about the llvm-commits mailing list