mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Remove the DoubleTy special case.
llvm-svn: 33449
This commit is contained in:
parent
25584afca7
commit
cea1d1c5f8
@ -330,9 +330,6 @@ void ScheduleDAG::AddOperand(MachineInstr *MI, SDOperand Op,
|
||||
const Type *Type = CP->getType();
|
||||
// MachineConstantPool wants an explicit alignment.
|
||||
if (Align == 0) {
|
||||
if (Type == Type::DoubleTy)
|
||||
Align = 3; // always 8-byte align doubles.
|
||||
else {
|
||||
Align = TM.getTargetData()->getTypeAlignmentShift(Type);
|
||||
if (Align == 0) {
|
||||
// Alignment of packed types. FIXME!
|
||||
@ -340,7 +337,6 @@ void ScheduleDAG::AddOperand(MachineInstr *MI, SDOperand Op,
|
||||
Align = Log2_64(Align);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unsigned Idx;
|
||||
if (CP->isMachineConstantPoolEntry())
|
||||
|
Loading…
Reference in New Issue
Block a user