[SVE][CodeGen] Legalisation of vsetcc with scalable types
authorKerry McLaughlin <kerry.mclaughlin@arm.com>
Tue, 23 Jun 2020 10:34:52 +0000 (11:34 +0100)
committerKerry McLaughlin <kerry.mclaughlin@arm.com>
Tue, 23 Jun 2020 10:56:29 +0000 (11:56 +0100)
commit50805031740357e5c637f471fdc60237fbecbbc7
tree0aa6698df3106bf53ee600d996186a120091a1ae
parentd57e9aca0137dd088825abd80ea4a616e49d17ed
[SVE][CodeGen] Legalisation of vsetcc with scalable types

Summary: Changes SplitVecOp_VSETCC to use getVectorElementCount()

Reviewers: sdesmalen, efriedma, dancgr

Reviewed By: efriedma

Subscribers: david-arm, tschuett, hiraditya, rkruppe, psnobl, huihuiz, cfe-commits, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79167
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/AArch64/llvm-ir-to-intrinsic.ll