mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-15 16:07:49 +00:00
Don't force setCC instructions into AL
llvm-svn: 5104
This commit is contained in:
parent
bb2e7ec2b1
commit
c21fd773b8
@ -437,10 +437,7 @@ void ISel::visitSetCCInst(SetCondInst &I, unsigned OpNum) {
|
||||
{X86::SETEr, X86::SETNEr, X86::SETLr, X86::SETGr, X86::SETLEr, X86::SETGEr},
|
||||
};
|
||||
|
||||
BuildMI(BB, OpcodeTab[CompTy->isSigned()][OpNum], 0, X86::AL);
|
||||
|
||||
// Put it in the result using a move.
|
||||
BuildMI (BB, X86::MOVrr8, 1, getReg(I)).addReg(X86::AL);
|
||||
BuildMI(BB, OpcodeTab[CompTy->isSigned()][OpNum], 0, getReg(I));
|
||||
}
|
||||
|
||||
/// promote32 - Emit instructions to turn a narrow operand into a 32-bit-wide
|
||||
|
Loading…
x
Reference in New Issue
Block a user