diff options
author | Pengcheng Wang <wangpengcheng.pp@bytedance.com> | 2024-12-12 11:24:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 11:24:07 +0800 |
commit | da71203e6fc6b8e08c9979204506d385e9cb07b8 (patch) | |
tree | 11cb30160fc9dd3fc66623bc733d95580ef9f489 /clang/lib/Basic/FileManager.cpp | |
parent | fd2f8d485df7742320317b14d49b9d808f70625c (diff) | |
download | llvm-da71203e6fc6b8e08c9979204506d385e9cb07b8.zip llvm-da71203e6fc6b8e08c9979204506d385e9cb07b8.tar.gz llvm-da71203e6fc6b8e08c9979204506d385e9cb07b8.tar.bz2 |
[MISched] Unify the way to specify scheduling direction (#119518)
For pre-ra scheduling, we use two options `-misched-topdown` and
`-misched-bottomup` to force the direction.
While for post-ra scheduling, we use `-misched-postra-direction`
with enumerated values (`topdown`, `bottomup` and `bidirectional`).
This is not unified and adds some mental burdens. Here we replace
these two options `-misched-topdown` and `-misched-bottomup` with
`-misched-prera-direction` with the same enumerated values.
To avoid the condition of `getNumOccurrences() > 0`, we add a new
enum value `Unspecified` and make it the default initial value.
These options are hidden, so we needn't keep the compatibility.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions