joker-eph wrote: EnumCase is the modern form, before that we had to (what I refer to legacy) overlay enum on top of an `IntegerAttr`. The enum were not first class and just some sugar on top of the IntegerAttr. https://github.com/llvm/llvm-project/pull/189046