This is the final patch for the IR TableGen files cleanup.
It deals with the intrinsics for NVVM.
Differential D91097
[IR] [TableGen] Cleanup pass over the IR TableGen files, part 2 Paul-C-Anagnostopoulos on Nov 9 2020, 12:25 PM. Authored by
Details This is the final patch for the IR TableGen files cleanup. It deals with the intrinsics for NVVM.
Diff Detail
Event TimelineComment Actions LGTM overall, modulo one cosmetic nit.
|
I'd keep the original version, including the formatting -- I think it's substantially more readable that way. Understanding the uniformly nested set of foldl() is mentally easier to grok than the mix of foldl and foreach with args wrapped differently at each level.
IMO, it's one of the cases where nominally better code is not necessarily an improvement overall.