]> granicus.if.org Git - llvm/commit
Revert r369626 "[ARM] Fix lsrl with a 128/256 bit shift amount or a shift of 32"
authorHans Wennborg <hans@hanshq.net>
Thu, 22 Aug 2019 09:16:53 +0000 (09:16 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 22 Aug 2019 09:16:53 +0000 (09:16 +0000)
commit046a919d62fc1b7646a589fb75045163ce35086e
tree3f512e45001cb02f4ff7723d95fa08f25b000125
parentb836e95d8d07cc618e594e0810fddc4163319e42
Revert r369626 "[ARM] Fix lsrl with a 128/256 bit shift amount or a shift of 32"

It broke the bots, see e.g. http://lab.llvm.org:8011/builders/clang-cuda-build/builds/36275/

> This patch fixes shifts by a 128/256 bit shift amount. It also fixes
> codegen for shifts of 32 by delegating to LLVM's default optimisation
> instead of emitting a long shift.
>
> Tests that used to generate long shifts of 32 are updated to check for the
> more optimised codegen.
>
> Differential revision: https://reviews.llvm.org/D66519
>
> llvm-svn: 369626

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369636 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/shift_parts.ll
test/CodeGen/Thumb2/mve-abs.ll
test/CodeGen/Thumb2/mve-div-expand.ll
test/CodeGen/Thumb2/mve-vcvt.ll