llvm-project
6b85fb1e - [SLP]Consider (f)sub, being operand of llvm.(f)abs/icmp eq/ne 0, commutative.

Commit
1 year ago
[SLP]Consider (f)sub, being operand of llvm.(f)abs/icmp eq/ne 0, commutative. If (f)sub is only operand of llvm.(f)abs or icmp eq/ne 0 (int only), we can consider it as commutative operation, just need to drop wrapping flags for ineteger operation. https://alive2.llvm.org/ce/z/GxvxjB for correctness of abs with dropped flags. Reviewers: RKSimon Reviewed By: RKSimon Pull Request: https://github.com/llvm/llvm-project/pull/86196
Author
Parents
Loading