[PATCH] D34576: [ConstantHoisting] Avoid hoisting constants in GEPs that index into a struct type.

Leo Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 16:16:18 PDT 2017


aoli added a comment.

And for quadratic iteration overhead. This function is being used in GVNSink.cpp and SimplifyCFG.cpp and there isn't any optimization for iterating the GEP. So it may okay for us also to do that?


https://reviews.llvm.org/D34576





More information about the llvm-commits mailing list