summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-09-11 17:43:35 +0000
committerManman Ren <mren@apple.com>2012-09-11 17:43:35 +0000
commit020aba0c3b6092e353e133446cb6453f95f0d61b (patch)
treee0a60a2cc7b3c3d76b154786d7b6a5473a59b497 /lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
parenta6035773d8d29827a124e65c258adbf0dcbb1a5a (diff)
downloadexternal_llvm-020aba0c3b6092e353e133446cb6453f95f0d61b.zip
external_llvm-020aba0c3b6092e353e133446cb6453f95f0d61b.tar.gz
external_llvm-020aba0c3b6092e353e133446cb6453f95f0d61b.tar.bz2
SimplifyCFG: preserve branch-weight metadata when creating a new switch from
a pair of switch/branch where both depend on the value of the same variable and the default case of the first switch/branch goes to the second switch/branch. Code clean up and fixed a few issues: 1> handling the case where some cases of the 2nd switch are invalidated 2> correctly calculate the weight for the 2nd switch when it is a conditional eq Testing case is modified from Alastair's original patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp')
0 files changed, 0 insertions, 0 deletions