[TableGen] Change representation of ArgumentAttributes (NFC)
authorNikita Popov <npopov@redhat.com>
Tue, 11 Oct 2022 13:01:48 +0000 (15:01 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 11 Oct 2022 13:03:38 +0000 (15:03 +0200)
commita93d03310e2c02fa5e24544df4706650f85788f7
treef2e829d2a8268dae9527466a7c6818b3f5f18f69
parent5d859a1cdee3c15dce692767ee3e9ad03a8c4c1b
[TableGen] Change representation of ArgumentAttributes (NFC)

Instead of a flat list that includes the argument index, use a
nested vector, where each inner vector is the attribute set for
a single argument. This is more obvious and makes followup changes
simpler.
llvm/utils/TableGen/CodeGenIntrinsics.h
llvm/utils/TableGen/CodeGenTarget.cpp
llvm/utils/TableGen/IntrinsicEmitter.cpp