[all-commits] [llvm/llvm-project] 4ca1fb: [SelectionDAG] Make WidenVecRes_Convert work for s...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Sep 22 02:59:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ca1fbe361860976646ad09da26757bf32563145
      https://github.com/llvm/llvm-project/commit/4ca1fbe361860976646ad09da26757bf32563145
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/test/CodeGen/AArch64/sve-fcvt.ll

  Log Message:
  -----------
  [SelectionDAG] Make WidenVecRes_Convert work for scalable vectors.

Most of the code wasn't yet scalable safe, although most of the
code conceptually just works for scalable vectors. This change
makes the algorithm work on ElementCount, where appropriate,
and leaves the fixed-width only code to use `getFixedNumElements`.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D110058




More information about the All-commits mailing list