[all-commits] [llvm/llvm-project] a57bfb: [X86][AVX] Fold CONCAT(HOP(X, Y), HOP(Z, W)) -> HOP(C...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Aug 5 07:10:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a57bfb44bc7918c907500ba9ac4cdd80e445660a
      https://github.com/llvm/llvm-project/commit/a57bfb44bc7918c907500ba9ac4cdd80e445660a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/haddsub-2.ll

  Log Message:
  -----------
  [X86][AVX] Fold CONCAT(HOP(X,Y),HOP(Z,W)) -> HOP(CONCAT(X,Z),CONCAT(Y,W)) for integer types


  Commit: 6a06c7a0a7688ce142865e92d879b8bece79de7a
      https://github.com/llvm/llvm-project/commit/6a06c7a0a7688ce142865e92d879b8bece79de7a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

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

  Log Message:
  -----------
  [X86] isHorizontalBinOp - only update LHS/RHS references on success

We've had issues in the past where isHorizontalBinOp calls would affect later combines as the LHS/RHS references had been commuted but still failed to match.


Compare: https://github.com/llvm/llvm-project/compare/6ae5b9e40587...6a06c7a0a768


More information about the All-commits mailing list