Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
relatively minor stuff here
lib/Transforms/Scalar/SROA.cpp | ||
---|---|---|
1640–1641 ↗ | (On Diff #95659) | I think these need to be in separate tests with comments, otherwise its too confusing. I thought at first this was a bug because we did *NewTy*->isIntegerTy() and isNonIntegralPointerType(*OldTy*)... But I think that is actually correct? A comment here saying "if we can convert from pointer to integer" and then "the reverse conversion from integer to pointer" on two separate tests would be easier to read I think. |
test/Transforms/SROA/non-integral-pointers.ll | ||
1–4 ↗ | (On Diff #95659) | Comment to help the reader out by explaining what this is testing and where this shows up in the datalayout? |
Comment Actions
LGTM, FWIW. I encountered this issue as well and this seems like the correct solution.