Try to make the behavior more consistent with getGCDType, and bias
towards returning something closer to the source type whenever there's
an ambiguity.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D81445
GlobalISel: Rewrite getLCMType ClosedPublic Authored by arsenm on Jun 8 2020, 6:49 PM.
Details Summary Try to make the behavior more consistent with getGCDType, and bias
Diff Detail Event Timelinearsenm added a parent revision: D81376: GlobalISel: Add unit tests for some utils functions.Jun 8 2020, 6:50 PM This revision is now accepted and ready to land.Jun 19 2020, 1:49 PM
Revision Contents
Diff 269398 llvm/include/llvm/CodeGen/GlobalISel/Utils.h
llvm/lib/CodeGen/GlobalISel/Utils.cpp
llvm/unittests/CodeGen/GlobalISel/GISelUtilsTest.cpp
|