mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 14:07:32 +00:00
Fix a bug in my legalizer reworking that caused the X86 backend to not get
a chance to custom legalize setcc, which broke a bunch of C++ Codes. Testcase here: CodeGen/X86/2006-01-30-LongSetcc.ll llvm-svn: 25821
This commit is contained in:
parent
21fc565586
commit
e24c6ef1f9
@ -1465,8 +1465,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
||||
}
|
||||
}
|
||||
|
||||
switch (TLI.getOperationAction(ISD::SETCC,
|
||||
Node->getOperand(0).getValueType())) {
|
||||
switch (TLI.getOperationAction(ISD::SETCC, Tmp1.getValueType())) {
|
||||
default: assert(0 && "Cannot handle this action for SETCC yet!");
|
||||
case TargetLowering::Custom:
|
||||
isCustom = true;
|
||||
|
Loading…
Reference in New Issue
Block a user