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