diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-21 01:55:12 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-21 01:55:12 +0000 |
commit | c196531ef304725afdf1de11bbb544639ef56b80 (patch) | |
tree | af9e43867a1af3d9672723d1c2ca00d4843c150b /llvm/lib/Transforms/Utils/ValueMapper.cpp | |
parent | b550b765bdd436b0fd2be3f0f011e4e6931017e8 (diff) | |
download | llvm-c196531ef304725afdf1de11bbb544639ef56b80.zip llvm-c196531ef304725afdf1de11bbb544639ef56b80.tar.gz llvm-c196531ef304725afdf1de11bbb544639ef56b80.tar.bz2 |
BitcodeWriter: Emit metadata in post-order (again)
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions