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

Pull fptrunc's upwards through selects when one of the select's selectands was...

Pull fptrunc's upwards through selects when one of the select's selectands was a constant.  This has a number of benefits, including producing small immediates (easier to materialize, smaller constant pools) as well as being more likely to allow the fptrunc to fuse with a preceding instruction (truncating selects are unusual).

llvm-svn: 191929
parent 811bfe63
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