diff options
| author | Job Noorman <jnoorman@igalia.com> | 2023-09-01 09:08:49 +0200 |
|---|---|---|
| committer | Job Noorman <jnoorman@igalia.com> | 2023-09-01 09:36:05 +0200 |
| commit | 76f040bda6d0b8709c8c1539dac5b430b51de1b7 (patch) | |
| tree | d5a7f5a83151d1647b4d64cb5d51c05c46fecdf8 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 9f5335487ae559a5f7976f1c3cb92ded2b123016 (diff) | |
[BOLT] Provide generic implementations for isLoad/isStore
`MCInstrDesc` provides the `mayLoad` and `mayStore` flags that seem
appropriate to use as a target-independent way to implement `isLoad` and
`isStore`.
I believe this is currently good enough to use for the RISC-V target as
well. I've provided a test for this that checks the generated dyno
stats (which seems to be the only thing both `isLoad` and `isStore` are
used for).
Reviewed By: maksfb
Differential Revision: https://reviews.llvm.org/D159266
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
