This was added in https://reviews.llvm.org/D2449, but I'm not sure it's
necessary since an inalloca value is never a Constant (should be an
AllocaInst).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
lgtm
Maybe in the first line of the commit message, make it even clearer that you're removing the check because it's unnecessary. For example, "Remove unnecessary check for inalloca in IPConstantPropagation"