mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-31 09:22:31 +00:00
Add comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e2242be71
commit
b1019480b6
@ -294,6 +294,10 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
|
||||
|
||||
if (!Subtarget->isThumb()) {
|
||||
// Use branch latency information to determine if-conversion limits.
|
||||
// FIXME: If-converter should use instruction latency of the branch being
|
||||
// eliminated to compute the threshold. For ARMv6, the branch "latency"
|
||||
// varies depending on whether it's dynamically or statically predicted
|
||||
// and on whether the destination is in the prefetch buffer.
|
||||
const TargetInstrInfo *TII = getTargetMachine().getInstrInfo();
|
||||
const InstrItineraryData &InstrItins = Subtarget->getInstrItineraryData();
|
||||
unsigned Latency= InstrItins.getLatency(TII->get(ARM::Bcc).getSchedClass());
|
||||
|
Loading…
x
Reference in New Issue
Block a user