llvm-project
9e3fb0af - [CalledValuePropagation] Fix handling of unnamed functions (#244846)

Commit
7 hours ago
[CalledValuePropagation] Fix handling of unnamed functions (#244846) A function without a name gets an empty string as the name, so they were all treated equal. Assign each function a unique integer (their position in the module) and use the integers for ordering them. Also fixes a source of non-determinism in the pass as we no longer compare pointer values.
Author
Parents
Loading