[PATCH] D98228: [AssumeBundles] Add nonnull/align to op bundle if noundef exists
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 8 18:19:03 PST 2021
aqjune added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp:203
void addCall(const CallBase *Call) {
+ AttributeList CallAttrList = Call->getAttributes();
----------------
The new code isn't super clean compared to the previous one, but I had to pivot to iterate-per-argidx first to check existence of noundef in the callsite and called function. :(
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98228/new/
https://reviews.llvm.org/D98228
More information about the llvm-commits
mailing list