summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/mdnodes-in-post-order.ll
Commit message (Collapse)AuthorAgeFilesLines
* BitcodeWriter: Emit metadata in post-order (again)Duncan P. N. Exon Smith2016-04-211-0/+34
Emit metadata nodes in post-order. The iterative algorithm from r266709 failed to maintain this property. After understanding my mistake, it wasn't too hard to write a test with llvm-bcanalyzer (and I've actually made this change once before: see r220340). This also reverts the "noisy" testcase change from r266709. That should have been more of a red flag :/. Note: The same bug crept into the ValueMapper in r265456. I'm still working on the fix. llvm-svn: 266947
OpenPOWER on IntegriCloud