aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-10-31 21:34:53 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-10-31 21:34:53 +0000
commit374f71ac90dd0b84ede33cecd245e37da2012788 (patch)
treeb615927279fdc9358aa50d19b19cbb4052452290 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
parent9fa28138039513b3a5cd7e9fd532fd3e7d329f97 (diff)
downloadllvm-374f71ac90dd0b84ede33cecd245e37da2012788.zip
llvm-374f71ac90dd0b84ede33cecd245e37da2012788.tar.gz
llvm-374f71ac90dd0b84ede33cecd245e37da2012788.tar.bz2
Re-commit: [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. The previous commit failed on the Ubuntu bots using GCC 4.8. These bots didn't like a call to emplace(). I've replaced it with insert() to see if it's a quirk of the C++11 support. llvm-svn: 317040
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
0 files changed, 0 insertions, 0 deletions