aboutsummaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-12-16 20:54:32 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-12-16 20:54:32 +0000
commit080efb8cea6255b4f1f373d9cb583d6a6302106b (patch)
tree98ef4643af5e6d1091bd6d331e3525d978e1b3c8 /lib/Bitcode/Writer/BitcodeWriter.cpp
parent00dc84a2ca81be8adfee63ea0aa2a5abcb623060 (diff)
Add a helper to remove a branch and DCE the condition, and use it
consistently for deleting branches. In addition to being slightly more readable, this makes SimplifyCFG a bit better about cleaning up after itself when it makes conditions unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions