mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Make ConstantFP legalize into TargetConstantFP like other leaf nodes do. Allow
targets to register custom legalizers for ConstantFP in case there isn't a fixed list of constants that can be generated. On some architectures (ia64?) all fp immediates are legal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25769 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -148,7 +148,9 @@ namespace llvm {
|
||||
/// handleVirtualRegisterDef)
|
||||
void handleRegisterDef(MachineBasicBlock* mbb,
|
||||
MachineBasicBlock::iterator mi,
|
||||
unsigned reg);
|
||||
unsigned reg,
|
||||
std::map<std::pair<unsigned,unsigned>,
|
||||
unsigned> &PhysRegValueMap);
|
||||
|
||||
/// handleVirtualRegisterDef - update intervals for a virtual
|
||||
/// register def
|
||||
@@ -165,6 +167,8 @@ namespace llvm {
|
||||
MachineBasicBlock::iterator mi,
|
||||
LiveInterval& interval,
|
||||
unsigned SrcReg, unsigned DestReg,
|
||||
std::map<std::pair<unsigned,unsigned>,
|
||||
unsigned> *PhysRegValueMap,
|
||||
bool isLiveIn = false);
|
||||
|
||||
/// Return true if the two specified registers belong to different
|
||||
|
Reference in New Issue
Block a user