[all-commits] [llvm/llvm-project] c1b661: [clang][SVE][nfc] Remove spurious compare instruct...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Thu Sep 10 23:36:29 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1b661fde124399f0484c4b39501b37613cc4757
      https://github.com/llvm/llvm-project/commit/c1b661fde124399f0484c4b39501b37613cc4757
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M clang/lib/CodeGen/TargetBuiltins/ARM.cpp

  Log Message:
  -----------
  [clang][SVE][nfc] Remove spurious compare instruction (#222652)

When lowering `sve_svdup_n_bN` SVE builtins, the compare Op is not
required. In fact, that compare Op is removed by subsequent
optimisations, as evident in the tests.

Instead of relying on the middle-end to clean it up, improve the
front-end code-gen by not generating that spurious Op at all.



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