[PATCH] D16266: [opaque pointer types] Miscellaneous getPointerElementType cleanups.
Eduard Burtescu via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 16 17:14:43 PST 2016
eddyb created this revision.
eddyb added a reviewer: mjacob.
eddyb added subscribers: dblaikie, llvm-commits.
Herald added a subscriber: dsanders.
Get alloca types via getAllocatedType(), bypassing getPointerElementType().
Replace getPointerElementType on callees with getFunctionType().
Remove one dead getPointerElementType() call.
http://reviews.llvm.org/D16266
Files:
lib/Analysis/ValueTracking.cpp
lib/Analysis/VectorUtils.cpp
lib/CodeGen/GCRootLowering.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/ARM/ARMFastISel.cpp
lib/Target/Mips/Mips16HardFloat.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: D16266.45087.patch
Type: text/x-patch
Size: 9509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160117/e7e99534/attachment.bin>
More information about the llvm-commits
mailing list