As suggested by Eli Friedman, don't try to handle array allocas here,
because of possible overflows, instead rely on instcombine converting
them to allocations of array types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with one minor change.
lib/IR/Value.cpp | ||
---|---|---|
659 ↗ | (On Diff #127542) | The allocated type of an alloca is always sized (the verifier checks this). |