1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Transforms
Manman Ren 2189fb16b9 ArgumentPromotion: correctly transfer TBAA tags and alignments.
We used to use std::map<IndicesVector, LoadInst*> for OriginalLoads, and when we
try to promote two arguments, they will both write to OriginalLoads causing
created loads for the two arguments to have the same original load. And the same
tbaa tag and alignment will be put to the created loads for the two arguments.

The fix is to use std::map<std::pair<Argument*, IndicesVector>, LoadInst*>
for OriginalLoads, so each Argument will write to different parts of the map.

PR17906

llvm-svn: 194846
2013-11-15 20:41:15 +00:00
..
Hello First check in. Modified a comment. 2013-09-27 07:36:10 +00:00
InstCombine Add instcombine visitor for addrspacecast 2013-11-15 05:45:08 +00:00
Instrumentation [asan] use GlobalValue::PrivateLinkage for coverage guard to save quite a bit of code size 2013-11-15 09:52:05 +00:00
IPO ArgumentPromotion: correctly transfer TBAA tags and alignments. 2013-11-15 20:41:15 +00:00
ObjCARC [objc-arc] Convert the one directional retain/release relation assert to a conditional check + fail. 2013-11-05 16:02:40 +00:00
Scalar Fix -Wdelete-non-virtual-dtor warnings by making SampleProfile methods non-virtual 2013-11-13 13:09:39 +00:00
Utils Use StringRef instead of std::string 2013-11-13 20:09:11 +00:00
Vectorize Move debug message in vectorizer 2013-11-11 16:27:35 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile