llvm-6502/lib/Transforms
Manman Ren 062986c2f0 PGO: preserve branch-weight metadata when simplifying two branches with a common
destination.

Updated previous implementation to fix a case not covered:
// PBI: br i1 %x, TrueDest, BB
// BI:  br i1 %y, TrueDest, FalseDest
The other case was handled correctly.
// PBI: br i1 %x, BB, FalseDest
// BI:  br i1 %y, TrueDest, FalseDest

Also tried to use 64-bit arithmetic instead of APInt with scale to simplify the
computation. Let me know if you have other opinions about this.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163954 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-15 00:39:57 +00:00
..
Hello
InstCombine Handle the new !tbaa.struct metadata tags when converting a memcpy into scalar 2012-09-13 21:51:01 +00:00
Instrumentation Remove comment. 2012-09-14 22:35:49 +00:00
IPO Actually keep the flag default-off for now. =/ That's what I get for 2012-09-14 10:18:54 +00:00
Scalar Stylistic and 80-col fixes 2012-09-14 21:25:34 +00:00
Utils PGO: preserve branch-weight metadata when simplifying two branches with a common 2012-09-15 00:39:57 +00:00
Vectorize Make MemoryBuiltins aware of TargetLibraryInfo. 2012-08-29 15:32:21 +00:00
CMakeLists.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
LLVMBuild.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
Makefile Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00