projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1602ab
)
Eliminate a warning compiling with llvm-gcc. (IMO the
author
Dale Johannesen
<dalej@apple.com>
Tue, 4 Jan 2011 19:31:24 +0000
(19:31 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Tue, 4 Jan 2011 19:31:24 +0000
(19:31 +0000)
warning is overzealous but gcc is what it is.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122829
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86FrameInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86FrameInfo.cpp
b/lib/Target/X86/X86FrameInfo.cpp
index 5219861058c7ca2119cd38fdd612cfbf88372040..afadb4c9b3d34da79010c6f0da0f448f3f8ae9a5 100644
(file)
--- a/
lib/Target/X86/X86FrameInfo.cpp
+++ b/
lib/Target/X86/X86FrameInfo.cpp
@@
-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