Go to file
Manman Ren 571d9e4b80 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.

llvm-svn: 163635
2012-09-11 17:43:35 +00:00
clang objective-C: warn under a flag if missing argument 2012-09-11 17:24:26 +00:00
clang-tools-extra Make lit.cfg like the other lit.cfgs so it can be run standalone. 2012-09-04 22:23:37 +00:00
compiler-rt [Sanitizer] get rid of empty DEFAULT_CONVENTION in interception lib to remove empty macro arguments 2012-09-11 15:02:20 +00:00
debuginfo-tests Fix this for gdb 7.4. 2012-07-23 19:41:58 +00:00
libclc Add barrier.cl to SOURCES, spotted by Jin Wang. 2012-09-05 18:13:55 +00:00
libcxx Dimitry Andric: FreeBSD porting tweaks for PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER 2012-09-11 16:10:20 +00:00
libcxxabi Change size of reference count field in __libcpp_nmstr from 32 bits to 64 bits for 64 bit targets. This is controls the data layout of all exceptions defined in <stdexcept>. This aligns the ABI with that of gcc-4.2. 2012-08-08 16:15:16 +00:00
lld Fix warnings. 2012-09-10 23:46:58 +00:00
lldb Change the NULL to a 0 since we need a uint32_t 2012-09-11 16:09:27 +00:00
llvm SimplifyCFG: preserve branch-weight metadata when creating a new switch from 2012-09-11 17:43:35 +00:00
polly Add test cases for multi-dimensional variable lengths arrays 2012-09-11 14:03:19 +00:00