[prev in list] [next in list] [prev in thread] [next in thread]
List: llvm-commits
Subject: [llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaBranchSelector.cpp
From: Evan Cheng <evan.cheng () apple ! com>
Date: 2006-11-30 7:12:20
Message-ID: 200611300712.kAU7CKsQ031226 () zion ! cs ! uiuc ! edu
[Download RAW message or body]
Changes in directory llvm/lib/Target/Alpha:
AlphaBranchSelector.cpp updated: 1.1 -> 1.2
---
Log message:
MachineInstr::setOpcode -> MachineInstr::setInstrDescriptor
---
Diffs of the changes: (+2 -1)
AlphaBranchSelector.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaBranchSelector.cpp
diff -u llvm/lib/Target/Alpha/AlphaBranchSelector.cpp:1.1 \
llvm/lib/Target/Alpha/AlphaBranchSelector.cpp:1.2
--- llvm/lib/Target/Alpha/AlphaBranchSelector.cpp:1.1 Tue Oct 31 10:49:55 2006
+++ llvm/lib/Target/Alpha/AlphaBranchSelector.cpp Thu Nov 30 01:12:03 2006
@@ -53,7 +53,8 @@
// 0. bc opcode
// 1. reg
// 2. target MBB
- MBBI->setOpcode(MBBI->getOperand(0).getImm());
+ const TargetInstrInfo *TII = Fn.getTarget().getInstrInfo();
+ MBBI->setInstrDescriptor(TII->get(MBBI->getOperand(0).getImm()));
}
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic