Skip to content
Commit 70aede22 authored by Matt Arsenault's avatar Matt Arsenault
Browse files

InstCombine: Recognize fneg(fabs) as bitcasted integer

Technically increases the number of instructions if the
result isn't cast back to float. Even in this case it's
still probably a better canonical form since it enables FP value
tracking.

https://reviews.llvm.org/D151939
parent 5c0da583
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment