[PATCH] D147457: [Reassociation] Only form CSE expressions for local operands
Ahmed Bougacha via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 15:00:03 PDT 2023
ab added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/Reassociate.cpp:2442
+ // Do as if it lives in the entry block.
+ SeenBB = &I->getParent()->getParent()->getEntryBlock();
+ } else {
----------------
Why the entry block, would it make sense to continue here and skip the value in this case?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147457/new/
https://reviews.llvm.org/D147457
More information about the llvm-commits
mailing list