]> granicus.if.org Git - llvm/commit
[GlobalISel] Fix G_SEXT narrowScalar to bail out of unsupported type combination.
authorAmara Emerson <aemerson@apple.com>
Wed, 4 Sep 2019 07:58:45 +0000 (07:58 +0000)
committerAmara Emerson <aemerson@apple.com>
Wed, 4 Sep 2019 07:58:45 +0000 (07:58 +0000)
commit707116e84d47494ef9923f074c3bed77c573a2b2
tree026ccf80e8b8ea45dead6f29bae01bbf7910bfb4
parent69dde116f1bbecdd6dfbb706c33fba8595c3a0c2
[GlobalISel] Fix G_SEXT narrowScalar to bail out of unsupported type combination.

Similar to the issue with G_ZEXT that was fixed earlier, this is a quick
to fall back if the source type is not exactly half of the dest type.

Fixes the clang-cmake-aarch64-lld bot build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370847 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerHelper.cpp