[all-commits] [llvm/llvm-project] 947919: [SLPVectorizer] Pre-commit a test for D85759

Thomas Lively via All-commits all-commits at lists.llvm.org
Tue Aug 11 11:30:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 94791970de109eb9a6b296825ddb0fc2a196b366
      https://github.com/llvm/llvm-project/commit/94791970de109eb9a6b296825ddb0fc2a196b366
  Author: Thomas Lively <tlively at google.com>
  Date:   2020-08-11 (Tue, 11 Aug 2020)

  Changed paths:
    A llvm/test/Transforms/SLPVectorizer/WebAssembly/no-vectorize-rotate.ll

  Log Message:
  -----------
  [SLPVectorizer] Pre-commit a test for D85759

8cc911fa5b06 refactored the `getIntrinsicInstrCost` function and was
meant to be a nonfunctional change, but it accidentally changed how
costs were calculated in the SLP vectorizer, which regressed
WebAssembly codegen and resulted in a downstream bug report at
https://github.com/emscripten-core/emscripten/issues/11449.

The fix for this regression is in D85759, and this patch just
pre-commits the test from that patch to demonstrate the regressed
behavior first.




More information about the All-commits mailing list