[PATCH] D48692: [WebAssembly] Delete vector sdiv test case
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 28 10:23:04 PDT 2018
aheejin added a comment.
Thanks. I'm little not sure if you remember the history, so FYI, this test case was added in https://reviews.llvm.org/D46161 (https://reviews.llvm.org/rL329525) to make sure the case with 1's in a vector should NOT be converted to 'shr's and remain as 'sdiv's, in which case shifting a value by the number of its bit widths becomes undef. But after https://reviews.llvm.org/rL335727, you fixed it so now even vectors with 1's in there can be correctly treated as pow2 non-splat vectors, so this test started failing. So in https://reviews.llvm.org/rL335771 someone else (not me) fixed the expectation to 'shr's, so the purpose this case was added is now unnecessary.
Do you mean, even if the original purpose of this case is not there anymore, it's still better to keep this case after modifying the comments?
Repository:
rL LLVM
https://reviews.llvm.org/D48692
More information about the llvm-commits
mailing list