Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
See the comment about isa_and_present above.
llvm/lib/Analysis/InlineCost.cpp | ||
---|---|---|
859–860 | May I suggest something like this? if (isa_and_present<ConstantInt>(SimplifiedValues.lookup(SI->getCondition()))) This is for consistency with the BranchInst handling just a few lines above. isa_and_present is a successor of isa_and_nonnull, which I *think* will be deprecated. |
May I suggest something like this?
This is for consistency with the BranchInst handling just a few lines above.
isa_and_present is a successor of isa_and_nonnull, which I *think* will be deprecated.