diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2017-06-13 14:11:29 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2017-06-13 14:11:29 +0000 |
commit | c38d391f562ca73b5b73e593a8cef5cbc5223090 (patch) | |
tree | 8b9d4879a499ebb682c806ca9a94ed7ccb14a7d7 /llvm/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp | |
parent | 9bd4d91037bf0ce824a1b759ddcdaed84ec341a8 (diff) | |
download | bcm5719-llvm-c38d391f562ca73b5b73e593a8cef5cbc5223090.tar.gz bcm5719-llvm-c38d391f562ca73b5b73e593a8cef5cbc5223090.zip |
[MIPS] BuildCondBr should preserve MO flags
While simplifying branches in the MachineInstr representation, the
routine BuildCondBr must preserve flags on register MachineOperands. In
particular, it must preserve the <undef> flag.
This fixes a bug that is unlikely to occur in any real scenario, but
which bugpoint is likely to introduce.
Patch By Nick Johnson!
Reviewers: ahatanak, sdardis
Differential Revision: https://reviews.llvm.org/D34041
llvm-svn: 305290
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp')
0 files changed, 0 insertions, 0 deletions