[PATCH] D14596: [SROA] Choose more profitable type in findCommonType
David Li via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 2 10:24:22 PST 2016
davidxl added inline comments.
================
Comment at: lib/Transforms/InstCombine/InstCombineCasts.cpp:1846
@@ +1845,3 @@
+ ConstantFolder CFolder;
+ for (auto OldPN : Visited) {
+ PHINode *NewPN = NewPNodes[OldPN];
----------------
the two loops can be fused together.
http://reviews.llvm.org/D14596
More information about the llvm-commits
mailing list