Do away with addLegalFPImmediate. Add a target hook isFPImmLegal which returns true...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 27 Oct 2009 19:56:55 +0000 (19:56 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 27 Oct 2009 19:56:55 +0000 (19:56 +0000)
commiteb2f969a4ddfb0bc8fdcb5bce3b52e53abff321d
treead532e623f4f409af02ef9eef7d576ad8184978b
parentf3b0d1a555eaa46931e4ec1b11e434e8cba2b5d7
Do away with addLegalFPImmediate. Add a target hook isFPImmLegal which returns true if the fp immediate can be natively codegened by target.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85281 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/Alpha/AlphaISelLowering.cpp
lib/Target/Alpha/AlphaISelLowering.h
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsISelLowering.h
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZISelLowering.h
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h