[PATCH] D105674: [GlobalISel] Use GCDTy when extracting GCD ty from leftover regs in insertParts

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 9 03:41:44 PDT 2021


foad added a comment.

It would be simpler and more efficient to calculate GCDType once before both "for" loops (copy the code for this out of the 4 argument extractGCDType), and then use the 3 argument extractGCDType inside both "for" loops.


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

https://reviews.llvm.org/D105674



More information about the llvm-commits mailing list