[PATCH] D139283: [llvm-exegesis] parallel snippet generator: avoid Read-After-Write pitfail for instrs w/ tied variables
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 06:54:49 PST 2022
lebedev.ri added inline comments.
================
Comment at: llvm/tools/llvm-exegesis/lib/ParallelSnippetGenerator.cpp:318-319
+ std::vector<CodeTemplate> Result;
+ for (RegRandomizationStrategy S : enum_seq_inclusive(
+ RegRandomizationStrategy::FIRST, RegRandomizationStrategy::LAST)) {
+ CodeTemplate CurrCT = CT.clone();
----------------
To be fair, one thing we don't do here, is elimination of unreasonable choices.
If there is only a single use reg, there is no difference
between `SingleStaticUseRegPerOperand` and `SingleStaticUseReg`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139283/new/
https://reviews.llvm.org/D139283
More information about the llvm-commits
mailing list