1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/lib/Transforms
Dehao Chen 2d6739bc77 Update the discriminator assignment algorithm
* If a scope has already been assigned a discriminator, do not reassign a nested discriminator for it.
* If the file and line both match, even if the column does not match, we should assign a new discriminator for the stmt.

original code:
; #1 int foo(int i) {
; #2 if (i == 3 || i == 5) return 100; else return 99;
; #3 }

; i == 3: discriminator 0
; i == 5: discriminator 2
; return 100: discriminator 1
; return 99: discriminator 3

llvm-svn: 251680
2015-10-30 02:38:29 +00:00
..
Hello Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
InstCombine [InstCombine] Teach instcombine not to create extra PHI nodes when folding GEPs 2015-10-26 10:25:05 +00:00
Instrumentation [sanitizer] [msan] Unify aarch64 mapping 2015-10-29 13:02:30 +00:00
IPO [FunctionAttrs] Provide a single SCC node set to all of the 2015-10-29 18:29:15 +00:00
ObjCARC ObjCARC: Remove implicit ilist iterator conversions, NFC 2015-10-19 23:20:14 +00:00
Scalar [LVI/CVP] Teach LVI about range metadata 2015-10-29 03:57:17 +00:00
Utils Update the discriminator assignment algorithm 2015-10-30 02:38:29 +00:00
Vectorize Revert the revision 251592 as it fails a test on some platforms. 2015-10-29 05:35:22 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile