We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e4fec commit 2c5b25bCopy full SHA for 2c5b25b
clang/utils/perf-training/perf-helper.py
@@ -690,7 +690,10 @@ def bolt_optimize(args):
690
process.check_returncode()
691
692
if opts.method in ["PERF", "LBR"]:
693
- perf2bolt([opts.bolt, opts.perf_training_binary_dir, opts.input])
+ args = [opts.bolt, opts.perf_training_binary_dir, opts.input]
694
+ if opts.method == "LBR":
695
+ args.extend("--lbr")
696
+ perf2bolt(args)
697
698
merge_fdata([opts.merge_fdata, opts.fdata, opts.perf_training_binary_dir])
699
0 commit comments