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)
commitd0d7860f409778cb80d9c4e88339cbb0c321a807
tree3e47648796e86b45dc2f85872a404ce770b31781
parentfb9d4b4c3b0fe0bd685f0db82ae789b7a6219b01
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
llvm/lib/CodeGen/MachineTraceMetrics.cpp
llvm/lib/CodeGen/MachineTraceMetrics.h
llvm/test/CodeGen/X86/early-ifcvt-crash.ll [new file with mode: 0644]