[all-commits] [llvm/llvm-project] 94a07c: [SLP][NFC] Fix condition that was supposed to save...

Valery Dmitriev via All-commits all-commits at lists.llvm.org
Fri Jun 11 10:09:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94a07c79cf108b8b9566acfa64d11aca27d60a84
      https://github.com/llvm/llvm-project/commit/94a07c79cf108b8b9566acfa64d11aca27d60a84
  Author: Valery N Dmitriev <valery.n.dmitriev at intel.com>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP][NFC] Fix condition that was supposed to save a bit of compile time.

It was found by chance revealing discrepancy between comment (few lines above),
the condition and how re-ordering of instruction is done inside the if statement
it guards. The condition was always evaluated to true.

Differential Revision: https://reviews.llvm.org/D104064




More information about the All-commits mailing list