diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-04-27 22:41:55 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-04-27 22:41:55 +0000 |
commit | 2790ba8e5a7bb6e00fdac9997d840598fb60271c (patch) | |
tree | 6ac6e78d206697a1fa36090a89427d92607f8014 /include/llvm/CodeGen | |
parent | 161b887506fb79dc68fb507b72de03eaf48f467a (diff) |
Make the fast-isel code for literal 0.0 a bit shorter/faster, since 0.0 is common. rdar://problem/9303592 .
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/FastISel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h index 99d8cf14dd..10c4c33dde 100644 --- a/include/llvm/CodeGen/FastISel.h +++ b/include/llvm/CodeGen/FastISel.h @@ -317,6 +317,10 @@ protected: return 0; } + virtual unsigned TargetMaterializeFloatZero(const ConstantFP* CF) { + return 0; + } + private: bool SelectBinaryOp(const User *I, unsigned ISDOpcode); |