aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Utils.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2018-06-29 21:27:20 +0000
committerHeejin Ahn <aheejin@gmail.com>2018-06-29 21:27:20 +0000
commit5cc0e25324dc3984c89a5e0b57b29ce65d52ab1e (patch)
tree4fe06a1969ff68ad84cea5d9ed42735cbc5016b3 /llvm/lib/Transforms/Utils/Utils.cpp
parenta86152d0a7c57f55d2161cdcb93824d7c64707db (diff)
downloadllvm-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