[all-commits] [llvm/llvm-project] ee1608: [CodeGen][MISched] Set DumpDirection after initPol...

Pengcheng Wang via All-commits all-commits at lists.llvm.org
Thu Nov 7 19:45:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee1608dd8e6d06d5aa6e62d7bbb6d60bae7bb5a5
      https://github.com/llvm/llvm-project/commit/ee1608dd8e6d06d5aa6e62d7bbb6d60bae7bb5a5
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineScheduler.h
    M llvm/lib/CodeGen/MachineScheduler.cpp

  Log Message:
  -----------
  [CodeGen][MISched] Set DumpDirection after initPolicy (#115112)


Previously we set the dump direction according to command line
options, but we may override the scheduling direction in `initPolicy`
and this results in mismatch between dump and actual policy.

Here we simply set the dump direction after initializing the policy.



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