[PATCH] D16272: [opaque pointer types] Alloca: use getAllocatedType() instead of getType()->getElementType().

Eduard Burtescu via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 17 16:01:05 PST 2016


eddyb updated this revision to Diff 45137.
eddyb added a comment.

Assert that OtherPtr still has the same pointer type as the alloca.


http://reviews.llvm.org/D16272

Files:
  lib/Analysis/ValueTracking.cpp
  lib/CodeGen/GCRootLowering.cpp
  lib/Transforms/IPO/GlobalOpt.cpp
  lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  lib/Transforms/Scalar/ScalarReplAggregates.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16272.45137.patch
Type: text/x-patch
Size: 5802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160118/303ab891/attachment.bin>


More information about the llvm-commits mailing list