diff options
author | Heejin Ahn <aheejin@gmail.com> | 2018-06-29 21:27:20 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2018-06-29 21:27:20 +0000 |
commit | 5cc0e25324dc3984c89a5e0b57b29ce65d52ab1e (patch) | |
tree | 4fe06a1969ff68ad84cea5d9ed42735cbc5016b3 /llvm/lib/Transforms/Utils/Utils.cpp | |
parent | a86152d0a7c57f55d2161cdcb93824d7c64707db (diff) | |
download | llvm-5cc0e25324dc3984c89a5e0b57b29ce65d52ab1e.zip llvm-5cc0e25324dc3984c89a5e0b57b29ce65d52ab1e.tar.gz llvm-5cc0e25324dc3984c89a5e0b57b29ce65d52ab1e.tar.bz2 |
[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
llvm-svn: 336018
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions