[IR] Simplify Attribute::getAsString() (NFC)
Avoid enumerating all attributes here and instead use getNameFromAttrKind(), which is based on the tablegen data. This only leaves us with custom handling for int attributes, which don't have uniform printing.
Loading
Please sign in to comment