[PATCH] D113164: [NFC] Avoid nullptr dereference
Freddy, Ye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 14 18:27:42 PST 2021
FreddyYe abandoned this revision.
FreddyYe added a comment.
After reading the whole logic, I'll judge this as not a defect. Since TypePromotion::isSupportedValue() has checked before codes here. ReturnInst's operand won't be null. So getReturnValue() here won't return Null. I'll close this PR, sorry for the noise.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113164/new/
https://reviews.llvm.org/D113164
More information about the llvm-commits
mailing list