OSDN Git Service

[WebAssembly] Update comments for non-splat pow2 vector test case
authorHeejin Ahn <aheejin@gmail.com>
Fri, 29 Jun 2018 21:27:20 +0000 (21:27 +0000)
committerHeejin Ahn <aheejin@gmail.com>
Fri, 29 Jun 2018 21:27:20 +0000 (21:27 +0000)
commita70dcefd9a543de8769e275c6ba98168a8a83c20
tree9d882e15b73b83ed720d7c97a812361737f701f3
parentd2312611412dd68eda07fd24888500717ac379fd
[WebAssembly] Update comments for non-splat pow2 vector test case

Summary:
After rL335727, (sdiv X, 1) is treated as a special case, so we can
safely transform 'sdiv's in non-splat pow vectors into 'shr's even when
some of its entries are '1'. The test expectations have been already
fixed in rL335771, but the comments were out of date.

Also changed the filename from `vector_sdiv.ll` to `vector-sdiv.ll` to
be consistent with other test file names.

Reviewers: RKSimon

Subscribers: dschuff, sbc100, jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D48692

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336018 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/WebAssembly/vector-sdiv.ll [moved from test/CodeGen/WebAssembly/vector_sdiv.ll with 76% similarity]