Should fix https://llvm.org/bugs/show_bug.cgi?id=25247
Still a draft, I'll update with a test case but I'd like a first feedback on the change.
Differential D13996
Fix SLPVectorizer commutativity reordering mehdi_amini on Oct 22 2015, 2:36 PM. Authored by
Details
Should fix https://llvm.org/bugs/show_bug.cgi?id=25247 Still a draft, I'll update with a test case but I'd like a first feedback on the change.
Diff Detail Event TimelineComment Actions Hi Mehdi, Would it be possible to split it to two patches: one with factoring out shouldReorderOperands function, and the other with functional change? It would be easier to review (No worries if it's not possible). Thanks, Comment Actions Hi Mehdi, The change looks good to me provided a test would be added. Thanks,
Comment Actions Hi Mehdi, As before, the code looks good to me, some comments on the test are inline. Thanks,
Comment Actions Hi Mehdi, Thanks for adding the tests! LGTM modulo a couple of nitpicks. Michael
|
nitpick: Symmetrically with double 'm'?