[PATCH] D18532: Preserve blockaddress use edges in the module splitter.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 12:53:51 PDT 2016
eugenis added inline comments.
================
Comment at: lib/Transforms/Utils/SplitModule.cpp:127
@@ +126,3 @@
+
+ if (PreserveLocals && GV.hasLocalLinkage())
+ addAllGlobalValueUsers(GVtoClusterMap, &GV, &GV);
----------------
pcc wrote:
> I don't think you need the `PreserveLocals &&` part here, as the RHS can only be true if the LHS is true.
good point, removed
Repository:
rL LLVM
http://reviews.llvm.org/D18532
More information about the llvm-commits
mailing list