The change is needed for my upcoming changes to NVPTX back-end that implement an intrinsic that has up to 8 output values.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 10996 Build 10996: arc lint + arc unit
Event Timeline
llvm/lib/IR/Function.cpp | ||
---|---|---|
655 | Is there a reason not to put these consecutive with struct5? |
llvm/lib/IR/Function.cpp | ||
---|---|---|
655 | Caution mostly. If enum has explicitly assigned values, I assume that someone somewhere relies on them being exactly those values and it's prudent to extend the range rather than change existing order. |
Comment Actions
Replaced fixed-size array with SmallVector<>. One less place for making potential buffer overflow error when struct encoding changes.
Is there a reason not to put these consecutive with struct5?