commit | 5cb9925acd13d94e7462e26fc7d493e2af8996dd | [log] [tgz] |
---|---|---|
author | Juergen Ributzka <juergen@apple.com> | Fri Feb 14 00:51:13 2014 +0000 |
committer | Juergen Ributzka <juergen@apple.com> | Fri Feb 14 00:51:13 2014 +0000 |
tree | 5f9fe2946bf381def5d41e34d30686ecc3d91e22 | |
parent | f222ebe86c944fc0f13afbb619bfa69880893f7a [diff] |
[X86] Don't mark movabsq as cheap-as-move - it isn't that cheap. A simple register copy on X86 is just 3 bytes, whereas movabsq is a 10 byte instruction. Marking movabsq as not beeing cheap will allow LICM to move it out of the loop and it also prevents unnecessary rematerializations if the value is needed in more than one register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201377 91177308-0d34-0410-b5e6-96231b3b80d8