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:
c31ecb9
)
Stop using this method
author
Chris Lattner
<sabre@nondot.org>
Tue, 10 Feb 2004 21:12:06 +0000
(21:12 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 10 Feb 2004 21:12:06 +0000
(21:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11282
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/SparcV9InstrInfo.h
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9InstrInfo.h
b/lib/Target/SparcV9/SparcV9InstrInfo.h
index 0926c072f9e183dafeca4fa82126797ab31e258c..0be2544c6079c360e3f93b894249cdf1cce27f24 100644
(file)
--- a/
lib/Target/SparcV9/SparcV9InstrInfo.h
+++ b/
lib/Target/SparcV9/SparcV9InstrInfo.h
@@
-65,7
+65,7
@@
struct SparcInstrInfo : public TargetInstrInfo {
if (MI.getOpcode() == V9::SETHI && MI.getNumOperands() == 2) {
const MachineOperand &op0 = MI.getOperand(0), &op1 = MI.getOperand(1);
if (op0.isImmediate() && op0.getImmedValue() == 0 &&
- op1.
isMachineRegister()
&&
+ op1.
getType() == MachineOperand::MO_MachineRegister
&&
op1.getMachineRegNum() == SparcIntRegClass::g0)
{
return true;