summaryrefslogtreecommitdiff
path: root/lib/DebugInfo
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-10-31 19:54:05 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-10-31 19:54:05 +0000
commitb89bb4ebdb42c59ba488410e3ee3380fdca25f26 (patch)
treeb8de3ca55615e5561eb7fa6cc51ee94a0b7c18d2 /lib/DebugInfo
parent159d0eccfeefcc80fdbf2142bba72fe49d0535aa (diff)
[globalisel][tablegen] Keep track of the insertion point while adding BuildMIAction's. NFC
Multi-instruction emission needs to ensure the the instructions are generated a depth-first fashion. For example: (ADDWrr (SUBWrr a, b), c) needs to emit the SUBWrr before the ADDWrr. However, our walk over TreePatternNode's is highly context sensitive which makes it difficult to append BuildMIActions in the order we want. To fix this, we now keep track of the insertion point as we add actions. This will allow multi-insn emission to insert BuildMI's in the correct place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo')
0 files changed, 0 insertions, 0 deletions