Skip to content
Commit 4b452952 authored by Craig Topper's avatar Craig Topper
Browse files

[LegalizeTypes] In SoftenFloatRes_FP_EXTEND, move the check for input already...

[LegalizeTypes] In SoftenFloatRes_FP_EXTEND, move the check for input already being promoted above the check for fp16 converting to something other than fp32.

The fp16 to larger than fp32 inserts an extend that need to
re-legalized if fp16 is promoted. But if we check for fp16
promotion first, then we can avoid emiting the fp_extend all
together.
parent daacf570
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment