diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-10-11 16:46:07 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-10-11 16:46:07 +0000 |
commit | d0d7860f409778cb80d9c4e88339cbb0c321a807 (patch) | |
tree | 3e47648796e86b45dc2f85872a404ce770b31781 /llvm/lib/CodeGen/MachineTraceMetrics.h | |
parent | fb9d4b4c3b0fe0bd685f0db82ae789b7a6219b01 (diff) | |
download | bcm5719-llvm-d0d7860f409778cb80d9c4e88339cbb0c321a807.tar.gz bcm5719-llvm-d0d7860f409778cb80d9c4e88339cbb0c321a807.zip |
Pass an explicit operand number to addLiveIns.
Not all instructions define a virtual register in their first operand.
Specifically, INLINEASM has a different format.
<rdar://problem/12472811>
llvm-svn: 165721
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.h')
-rw-r--r-- | llvm/lib/CodeGen/MachineTraceMetrics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineTraceMetrics.h b/llvm/lib/CodeGen/MachineTraceMetrics.h index 5f3b1d23e41..460730b0405 100644 --- a/llvm/lib/CodeGen/MachineTraceMetrics.h +++ b/llvm/lib/CodeGen/MachineTraceMetrics.h @@ -279,7 +279,7 @@ public: unsigned computeCrossBlockCriticalPath(const TraceBlockInfo&); void computeInstrDepths(const MachineBasicBlock*); void computeInstrHeights(const MachineBasicBlock*); - void addLiveIns(const MachineInstr *DefMI, + void addLiveIns(const MachineInstr *DefMI, unsigned DefOp, ArrayRef<const MachineBasicBlock*> Trace); protected: |