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
- Build Status
Buildable 13279 Build 13279: arc lint + arc unit
Event Timeline
Comment Actions
LGTM with one minor change.
lib/IR/Value.cpp | ||
---|---|---|
659 | The allocated type of an alloca is always sized (the verifier checks this). |
The allocated type of an alloca is always sized (the verifier checks this).