Open Quuxplusone opened 5 years ago
Bugzilla Link | PR41635 |
Status | NEW |
Importance | P enhancement |
Reported by | Simon Pilgrim (llvm-dev@redking.me.uk) |
Reported on | 2019-04-28 03:28:42 -0700 |
Last modified on | 2021-07-17 01:40:46 -0700 |
Version | trunk |
Hardware | PC Windows NT |
CC | a.bataev@hotmail.com, arnaud.degrandmaison@arm.com, gonzalo.gadeschi@gmail.com, llvm-bugs@lists.llvm.org, nikita.ppv@gmail.com, smithp352@googlemail.com, Ties.Stuij@arm.com |
Fixed by commit(s) | rL360054 |
Attachments | |
Blocks | |
Blocked by | |
See also | PR36702, PR38841, PR51122 |
As a target-independent transform, we should convert i1 VECREDUCE_AND and VECREDUCE_OR into VECREDUCE_UMIN and VECREDUCE_UMAX respectively, if it's favorable legality-wise.
Not sure where the right place to do that would be though.
Candidate Patch: https://reviews.llvm.org/D61398
The vector.reduce cases are fixed by https://reviews.llvm.org/rL360054. The bitcast part is still open.
Ping, there is https://reviews.llvm.org/D97961, which changes the default cost for the logical reductions.