Skip to content
Commit f74cfe03 authored by Owen Anderson's avatar Owen Anderson
Browse files

Teach InstCombine that (fmul X, -1.0) can be simplified to (fneg X), which...

Teach InstCombine that (fmul X, -1.0) can be simplified to (fneg X), which LLVM expresses as (fsub -0.0, X).

llvm-svn: 199420
parent 686738e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment