Open Quuxplusone opened 5 years ago
Bugzilla Link | PR40815 |
Status | CONFIRMED |
Importance | P enhancement |
Reported by | Gael Guennebaud (gael.guennebaud@gmail.com) |
Reported on | 2019-02-22 00:58:52 -0800 |
Last modified on | 2019-04-28 08:09:55 -0700 |
Version | 7.0 |
Hardware | PC All |
CC | chtz@informatik.uni-bremen.de, craig.topper@gmail.com, llvm-bugs@lists.llvm.org, llvm-dev@ndave.org, llvm-dev@redking.me.uk, neeilans@live.com, richard-llvm@metafoo.co.uk, spatel+llvm@rotateright.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
Note: In the self-contained test the __attribute__((noinline))
at line 4 needs to be removed to reproduce the error.
My bad, I played too much with it before sharing. Let me share a cleaned-up link:
IR: https://godbolt.org/z/I5q2jP
An initial investigation suggests its actually MergeConsecutiveStores that is messing up, creating extract_subvector with unaligned indices (which asserts), but if assertions are disabled, later a shuffle is generated containing misaligned indices.
Added test case at rL359401