AutoUpgrade: Fix assertion on invalid name mangling usage
This was trying to auto-upgrade a read_register call with missing type mangling. This first would break since getCalledFunction checks the callee type is consistent, so this would assert there. After that, the replacement code would die on the type mismatch. Be more defensive and let the verifier code produce an error that the IR is broken.
Loading
Please sign in to comment