[PATCH] D89166: Sink: Handle instruction sink when a user is dead
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 9 15:40:35 PDT 2020
MaskRay added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/Sink.cpp:150
+ // findNearestCommonDominator may fail for some reasons.
+ if (!SuccToSinkTo)
+ return false;
----------------
After `D88758`, the return value cannot be nullptr.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89166/new/
https://reviews.llvm.org/D89166
More information about the llvm-commits
mailing list