swift
b3e81a08
- SimplifyCFG: unpack enum arguments.
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
9 years ago
SimplifyCFG: unpack enum arguments. As we already do for structs and tuples. If all incoming values are enum instructions and the only use is an unchecked_enum_data, then we can replace the argument with the enum payload itself.
References
#2398 - Some simplify-cfg opts and ConditionalForwarding
Author
eeckstein
Committer
eeckstein
Parents
380ded81
Loading