[PATCH] D146158: [FuncSpec] Track the return values of specializations.
Alexandros Lamprineas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 29 11:15:45 PDT 2023
labrinea added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SCCPSolver.cpp:766
+ // Calls to void returning functions do not need invalidation.
+ Function *F = Call->getCalledFunction();
+ assert(!F->getReturnType()->isVoidTy() &&
----------------
Release build without assertions emits `warning: unused variable` here. Should fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146158/new/
https://reviews.llvm.org/D146158
More information about the llvm-commits
mailing list