aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2022-12-20 23:57:10 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2022-12-21 02:01:14 +0300
commita5b56313dd8cf49a5128f93361a4bcc51b8a5485 (patch)
treeeec5d19d3f367cd71615816b635be6777b0bf77b /llvm/lib/Support/VirtualFileSystem.cpp
parentbf94eac6a3f7c5cd8941956d44c15524fa3751bd (diff)
downloadllvm-a5b56313dd8cf49a5128f93361a4bcc51b8a5485.zip
llvm-a5b56313dd8cf49a5128f93361a4bcc51b8a5485.tar.gz
llvm-a5b56313dd8cf49a5128f93361a4bcc51b8a5485.tar.bz2
[llvm-exegesis] `AliasingConfigurations`: pay attention to forbidden registers
When trying to measure latency of certain opcodes, e.g. `./bin/llvm-exegesis --opcode-name=BT32ri8 --mode=latency --repetition-mode=loop --benchmarks-file=- --max-configs-per-opcode=65536`, we'd pick such an aliasing instruction, and such an aliasing registers, that would alias with forbidden registers. And in particular with loop counter in `loop` repetition mode, which made the measurements never finish. This does not address all such cases, only the most obvious one. The added test case fails without the patch. Fixes https://github.com/llvm/llvm-project/issues/59441
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions