diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-10-31 19:54:05 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-10-31 19:54:05 +0000 |
commit | b89bb4ebdb42c59ba488410e3ee3380fdca25f26 (patch) | |
tree | b8de3ca55615e5561eb7fa6cc51ee94a0b7c18d2 /lib/DebugInfo | |
parent | 159d0eccfeefcc80fdbf2142bba72fe49d0535aa (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