joker-eph wrote: > Like create a C++ Operation->Attribute map and re add them after the pass Yes, but probably "Symbol Name -> Attribute" map instead for stability. https://github.com/llvm/llvm-project/pull/135084