mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
remove now-dead code, the legalizer takes care of this for us
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25776 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
44d9b9bb86
commit
0fc9c26e7d
@ -1353,12 +1353,7 @@ unsigned ISel::SelectExpr(SDOperand N) {
|
||||
BuildMI(BB, Opc, 1,Result).addImm(cast<ConstantSDNode>(N)->getValue());
|
||||
return Result;
|
||||
case ISD::UNDEF:
|
||||
if (Node->getValueType(0) == MVT::f64) {
|
||||
// FIXME: SHOULD TEACH STACKIFIER ABOUT UNDEF VALUES!
|
||||
BuildMI(BB, X86::FpLD0, 0, Result);
|
||||
} else {
|
||||
BuildMI(BB, X86::IMPLICIT_DEF, 0, Result);
|
||||
}
|
||||
BuildMI(BB, X86::IMPLICIT_DEF, 0, Result);
|
||||
return Result;
|
||||
case ISD::GlobalAddress: {
|
||||
GlobalValue *GV = cast<GlobalAddressSDNode>(N)->getGlobal();
|
||||
|
Loading…
Reference in New Issue
Block a user