I'm fairly new to LLVM, so I'm not entirely sure if this is remotely something that'll ever get accepted, however, I've found the seemingly random integers representing various different syntax variants to be not particularly well documented and found the option to simply add a comment to be not particularly future proof. I apologize in advance if this change isn't appreciated as I'm not familiar with how such things are usually being improved, so I won't be upset if this is simply going to be rejected.
I've had another branch that included InlineAsm variants as well, but the rabbit hole was already a lot deeper than I originally anticipated, so I've left those changes out, unless otherwise requested.
I've only tagged the code-owners of projects that received meaningful changes, if this isn't correct, please let me know and I'll add everyone else as well.
This is where I expected to be a good place for a point of separation - but my initial version also transitioned all of InlineAsm to the new enum.
I'm not sure how the inline assembly is supported across different target platforms, so please let me know whether that separation is justified.