[all-commits] [llvm/llvm-project] f3f8e3: [SLP] Remove ScheduleData::UnscheduledDepsInBundle...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Feb 4 10:12:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3f8e3da9f22e2c4ab67e6f8b53cbbdee14339a4
      https://github.com/llvm/llvm-project/commit/f3f8e3da9f22e2c4ab67e6f8b53cbbdee14339a4
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2022-02-04 (Fri, 04 Feb 2022)

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

  Log Message:
  -----------
  [SLP] Remove ScheduleData::UnscheduledDepsInBundle field [NFC-ish]

We can simply compute the value of this field on demand.  Doing so clarifies the behavior when one of the instructions within a bundle doesn't have valid dependencies.  I vaguely thing this could change behavior slightly, but none of the test cases are affected, and my attempts to write one by hand have failed.

This also minorly reduces memory usage, but that's a secondary value at best.




More information about the All-commits mailing list