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:
d7fa35c
)
Squelch a bogus warning
author
Chris Lattner
<sabre@nondot.org>
Tue, 23 Nov 2004 15:57:01 +0000
(15:57 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 23 Nov 2004 15:57:01 +0000
(15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18157
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/SparcV9CodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
index 59edf6e02999251aaf538bac9925810f1af1b464..3e7ef3ad217ae9c24b5a139ad85f72c44a4d3ae4 100644
(file)
--- a/
lib/Target/SparcV9/SparcV9CodeEmitter.cpp
+++ b/
lib/Target/SparcV9/SparcV9CodeEmitter.cpp
@@
-142,7
+142,7
@@
int64_t SparcV9CodeEmitter::getMachineOpValue(MachineInstr &MI,
// So undo that: give the instruction (CI - PC) / 4
rv = (CI->getRawValue() - MCE.getCurrentPCValue()) / 4;
} else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
- unsigned Reloc;
+ unsigned Reloc
= 0
;
if (MI.getOpcode() == V9::CALL) {
Reloc = V9::reloc_pcrel_call;
} else if (MI.getOpcode() == V9::SETHI) {