[PATCH] D16302: [opaque pointer types] [NFC] Take advantage of get{Source, Result}ElementType when folding GEPs.
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 15:20:59 PST 2016
dblaikie added inline comments.
================
Comment at: lib/Analysis/ConstantFolding.cpp:739
@@ +738,3 @@
+
+ if (Constant *C = CastGEPIndices(SrcElemTy, Ops, ResTy, DL, TLI))
+ return C;
----------------
How/why did this get rolled in here?
http://reviews.llvm.org/D16302
More information about the llvm-commits
mailing list