[all-commits] [llvm/llvm-project] 6d7a84: [SandboxVec][Scheduler] Fix top of schedule (#126820)

vporpo via All-commits all-commits at lists.llvm.org
Wed Feb 12 11:52:23 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d7a84d72bf7f7be2a401e80a5339e1ae8f7c0f5
      https://github.com/llvm/llvm-project/commit/6d7a84d72bf7f7be2a401e80a5339e1ae8f7c0f5
  Author: vporpo <vporpodas at google.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Scheduler.cpp
    M llvm/test/Transforms/SandboxVectorizer/bottomup_basic.ll
    M llvm/test/Transforms/SandboxVectorizer/bottomup_seed_slice_pow2.ll
    M llvm/test/Transforms/SandboxVectorizer/repeated_instrs.ll
    M llvm/test/Transforms/SandboxVectorizer/scheduler.ll

  Log Message:
  -----------
  [SandboxVec][Scheduler] Fix top of schedule (#126820)

This patch fixes the way the top-of-schedule variable gets set and
updated. Before this patch it used to get updated whenever we scheduled
a bundle, which is wrong, as the top-of-schedule needs to be maintained
across scheduling attempts.

It should get reset only when we clear the schedule or when we destroy
the current schedule and re-schedule.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list