[all-commits] [llvm/llvm-project] a411bc: Revert "[SLP]Fix a crash when insert subvector is ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jun 22 23:16:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a411bc11d6086a67b625b54d56ae62b61ba95166
      https://github.com/llvm/llvm-project/commit/a411bc11d6086a67b625b54d56ae62b61ba95166
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-06-22 (Wed, 22 Jun 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    R llvm/test/Transforms/SLPVectorizer/AArch64/buildvector-vectorize.ll

  Log Message:
  -----------
  Revert "[SLP]Fix a crash when insert subvector is out of range."

This reverts commit f1ee2738b3d70fea803ac1f3401c2fc9f61e514a.

Revert due to the revert of a dependent commit `[SLP]Improve shuffles cost estimation where possible.`


  Commit: 1ffd2d99c29e4a7cf5dade2d17269b6d0c0ae7ea
      https://github.com/llvm/llvm-project/commit/1ffd2d99c29e4a7cf5dade2d17269b6d0c0ae7ea
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-06-22 (Wed, 22 Jun 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/tsc-s116.ll
    M llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-int-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-int.ll
    M llvm/test/Transforms/SLPVectorizer/X86/load-merge-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
    M llvm/test/Transforms/SLPVectorizer/X86/malformed_phis.ll
    M llvm/test/Transforms/SLPVectorizer/X86/powi.ll
    M llvm/test/Transforms/SLPVectorizer/X86/resched.ll

  Log Message:
  -----------
  Revert D115462 "[SLP]Improve shuffles cost estimation where possible."

This reverts commit cac60940b771a0685d058a5b471c84cea05fdc46.

Caused -Os -fsanitize=memory -march=haswell miscompile to pytorch/cpuinfo.
See my latest comment (may update) on D115462.


Compare: https://github.com/llvm/llvm-project/compare/352346fa9ec8...1ffd2d99c29e


More information about the All-commits mailing list