Skip to content
Commit 9f2c4a52 authored by Chris Lattner's avatar Chris Lattner
Browse files

Teach legalize to promote copy(from|to)reg, instead of making the isel pass

do it.  This results in better code on X86 for floats (because if strict
precision is not required, we can elide some more expensive double -> float
conversions like the old isel did), and allows other targets to emit
CopyFromRegs that are not legal for arguments.

llvm-svn: 19668
parent 479c7118
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