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:
4de57fd
)
fix a warning in the optimized build
author
Chris Lattner
<sabre@nondot.org>
Tue, 29 Mar 2005 15:13:27 +0000
(15:13 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 29 Mar 2005 15:13:27 +0000
(15:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20920
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelPattern.cpp
b/lib/Target/PowerPC/PPCISelPattern.cpp
index fcd8f438f109e632dd7651230d5ca720c1ec97dc..d408db38ca226679dc6d21a497622dad91ac6e6f 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelPattern.cpp
+++ b/
lib/Target/PowerPC/PPCISelPattern.cpp
@@
-729,6
+729,8
@@
unsigned ISel::SelectExpr(SDOperand N) {
if (sext && byte) {
Tmp3 = Result;
Result = MakeReg(MVT::i32);
+ } else {
+ Tmp3 = 0; // Silence GCC warning.
}
if(Address.getOpcode() == ISD::FrameIndex) {
BuildMI(BB, Opc, 2, Result)