commit | 0b7a786842fd6601b99b1073e5393ebc928c1e6c | [log] [tgz] |
---|---|---|
author | Mon P Wang <wangmp@apple.com> | Sat Mar 14 00:25:19 2009 +0000 |
committer | Mon P Wang <wangmp@apple.com> | Sat Mar 14 00:25:19 2009 +0000 |
tree | 24a68edfba7fc0be6a5e1dc70e967140934d220c | |
parent | d00d2feab2ddb3d0c89f6ca20c0a04216ddc77e9 [diff] |
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