Upon encountering loads/stores on types whose size is not a multiple of 8 bits the SROA pass would either trip an assertion or use logic that was not meant to work with such irregularly-sized types.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The new test is failing at least on linux and mac:
- https://lab.llvm.org/buildbot/#/builders/109/builds/16382
- http://45.33.8.238/macm1/11066/step_11.txt
- most bots on https://lab.llvm.org/buildbot/#/console are red
I reverted this in 205cde63c70e017a71d1ec06377421f7733f2ad5 for now.
Comment Actions
Sorry for the noise, the test got stale since I first uploaded it. I'll push again once this is sorted out.
Comment Actions
Looks like @LemonBoy updated the test. I'm hitting this issue so wanted to get the status of this patch to know if I should include it?
Comment Actions
Perfect it looks like you're right. I just read the messages in the thread and saw it was reverted but didn't see that it was merged after that, but the current state of the repo does appear to have this change. Great news thanks.
clang-format: please reformat the code