[PATCH] D89781: [NPM] Port -mergereturn to NPM
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 20 09:59:59 PDT 2020
aeubanks accepted this revision.
aeubanks added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp:128
+ Changed |= unifyReturnBlocks(F);
+ return Changed ? PreservedAnalyses() : PreservedAnalyses::all();
+}
----------------
I like using `PreservedAnalyses::none()` better, it's more explicit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89781/new/
https://reviews.llvm.org/D89781
More information about the llvm-commits
mailing list