Pass an explicit operand number to addLiveIns.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 11 Oct 2012 16:46:07 +0000 (16:46 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 11 Oct 2012 16:46:07 +0000 (16:46 +0000)
commitebba49395c189364c9ef77fb4c432856330ceca1
tree6f791dd31c2098a09c490ae5d3428e35bd2dddd2
parenta867f378979f26e7d87bb6db5b7665a2ee4c0293
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>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165721 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineTraceMetrics.cpp
lib/CodeGen/MachineTraceMetrics.h
test/CodeGen/X86/early-ifcvt-crash.ll [new file with mode: 0644]