[all-commits] [llvm/llvm-project] fdf206: [LLVM][SVE] Improve legalisation of fixed length g...

Paul Walker via All-commits all-commits at lists.llvm.org
Wed May 1 03:11:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdf206c10ccea9dd5bd3d7eeb1381f305f972e52
      https://github.com/llvm/llvm-project/commit/fdf206c10ccea9dd5bd3d7eeb1381f305f972e52
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2024-05-01 (Wed, 01 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/active_lane_mask.ll

  Log Message:
  -----------
  [LLVM][SVE] Improve legalisation of fixed length get.active.lane.mask (#90213)

We are effectively performing type and operation legalisation very early
within the code generation flow. This results in worse code quality
because the DAG is not in canonical form, which DAGCombiner corrects
through the introduction of operations that are not legal.

This patchs splits and moves the code to where type and operation
legalisation is typically implemented.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list