diff options
author | Mon P Wang <wangmp@apple.com> | 2009-03-14 00:25:19 +0000 |
---|---|---|
committer | Mon P Wang <wangmp@apple.com> | 2009-03-14 00:25:19 +0000 |
commit | 0b7a786842fd6601b99b1073e5393ebc928c1e6c (patch) | |
tree | 24a68edfba7fc0be6a5e1dc70e967140934d220c /lib/CodeGen/VirtRegMap.cpp | |
parent | d00d2feab2ddb3d0c89f6ca20c0a04216ddc77e9 (diff) | |
download | external_llvm-0b7a786842fd6601b99b1073e5393ebc928c1e6c.zip external_llvm-0b7a786842fd6601b99b1073e5393ebc928c1e6c.tar.gz external_llvm-0b7a786842fd6601b99b1073e5393ebc928c1e6c.tar.bz2 |
Avoid doing the transformation c ? 1.0 : 2.0 as load { 2.0, 1.0 } + c*4
if FPConstant is legal because if the FPConstant doesn't need to be stored
in a constant pool, the transformation is unlikely to be profitable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66994 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
0 files changed, 0 insertions, 0 deletions