aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-05 01:30:59 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-05 01:30:59 +0000
commit0a62cb44ce11c4ab7119b1e7fa7d061ab94fd065 (patch)
tree1ce2058815403aaaf09f9d7f60601a51493a7f15 /llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
parent855d024a83fac2913f993dc263923cad09cba411 (diff)
downloadllvm-0a62cb44ce11c4ab7119b1e7fa7d061ab94fd065.zip
llvm-0a62cb44ce11c4ab7119b1e7fa7d061ab94fd065.tar.gz
llvm-0a62cb44ce11c4ab7119b1e7fa7d061ab94fd065.tar.bz2
Add a target lowering hook to control whether it's worthwhile to compress fp constant.
For x86, if sse2 is available, it's not a good idea since cvtss2sd is slower than a movsd load and it prevents load folding. On x87, it's important to shrink fp constant since fldt is very expensive. llvm-svn: 47931
Diffstat (limited to 'llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp')
0 files changed, 0 insertions, 0 deletions