llvm-project
05687974 - [LoongArch] Add option to disable scheduling of instructions with target flags

Commit
89 days ago
[LoongArch] Add option to disable scheduling of instructions with target flags This patch adds a hidden command-line option -loongarch-disable-reloc-sched. When enabled, isSafeToMove returns false for instructions that have operands with target flags. This effectively prevents code motion for instructions involved in relocations, which is useful for debugging code generation issues related to relocation sequences or scheduling boundaries. Reviewers: heiher, SixWeining Pull Request: https://github.com/llvm/llvm-project/pull/178639
Author
Parents
Loading