[all-commits] [llvm/llvm-project] 3abbb6: [X86] isHorizontalBinOp - constify hadd/sub patter...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jun 24 07:11:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3abbb6a92de7049503c1597550b319e1d4aa412e
      https://github.com/llvm/llvm-project/commit/3abbb6a92de7049503c1597550b319e1d4aa412e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] isHorizontalBinOp - constify hadd/sub pattern matcher to make it easier to reuse. (#205538)

Avoid performing vector splits / bitcasts inside the isHorizontalBinOp call.

This is to make it easier to reuse the pattern matcher for other uses
(e.g. X86ISD::VPMADDWD/VPMADDUBSW detection).



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