Clang always duplicates SME attributes to each callsite, which means removing "ZA_State_Agnostic" from CalledFn before the assert resulted in the assertion failing for IR emitted by clang. I've updated the existing test to match the form emitted by clang (which previously hit the assert).