[PATCH] D106233: [InstCombine] Add freezeAllUsesOfArgument to visitFreeze
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 18 05:16:09 PDT 2021
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3577
+
+ Instruction *InsertBefore = nullptr;
+ for (auto *U : Arg->users()) {
----------------
Why not just `FI.getFunction()->getEntryBlock()->getFirstInsertionPt()`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106233/new/
https://reviews.llvm.org/D106233
More information about the llvm-commits
mailing list