aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/ShadowStackCollector.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
commit35190fd544eaee770b191618bd86af1ef7401758 (patch)
tree3c6d40842c57c1ed5309750a1c82a8dd107f107f /lib/CodeGen/ShadowStackCollector.cpp
parent8158082b53401707d47ecdb844129ebc146962a5 (diff)
downloadexternal_llvm-35190fd544eaee770b191618bd86af1ef7401758.zip
external_llvm-35190fd544eaee770b191618bd86af1ef7401758.tar.gz
external_llvm-35190fd544eaee770b191618bd86af1ef7401758.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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ShadowStackCollector.cpp')
0 files changed, 0 insertions, 0 deletions