commit | 2c12b35c9597cc72aac00facd8a9f14262e26eb4 | [log] [tgz] |
---|---|---|
author | Adrian Prantl <aprantl@apple.com> | Thu Aug 20 18:24:02 2015 +0000 |
committer | Adrian Prantl <aprantl@apple.com> | Thu Aug 20 18:24:02 2015 +0000 |
tree | 0e12519d59d61f3bb946a2d5d64fcffc0d5ac840 | |
parent | 0f8344c168e59002843f4b124f4146f783d31cd7 [diff] |
Fix a bug that caused SimplifyCFG to drop DebugLocs. Instruction::dropUnknownMetadata(KnownSet) is supposed to preserve all metadata in KnownSet, but the condition for DebugLocs was inverted. Most users of dropUnknownMetadata() actually worked around this by not adding LLVMContext::MD_dbg to their list of KnowIDs. This is now made explicit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245589 91177308-0d34-0410-b5e6-96231b3b80d8