1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

Eliminate a warning compiling with llvm-gcc. (IMO the

warning is overzealous but gcc is what it is.)

llvm-svn: 122829
This commit is contained in:
Dale Johannesen 2011-01-04 19:31:24 +00:00
parent 21c2cbcdbc
commit c7168aa6fe

View File

@ -153,7 +153,7 @@ void emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
if (ThisVal == (Is64Bit ? 8 : 4)) {
// Use push / pop instead.
unsigned Reg = isSub
? (Is64Bit ? X86::RAX : X86::EAX)
? (unsigned)(Is64Bit ? X86::RAX : X86::EAX)
: findDeadCallerSavedReg(MBB, MBBI, TRI, Is64Bit);
if (Reg) {
Opc = isSub