[llvm] [RISCV][MC] Implement evaluateBranch for auipc+jalr pairs (PR #65480)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 29 08:40:42 PDT 2023
================
@@ -37,6 +37,21 @@ class MCInstrAnalysis {
MCInstrAnalysis(const MCInstrInfo *Info) : Info(Info) {}
virtual ~MCInstrAnalysis() = default;
+ /// Clear the internal state. See updateState for more information.
+ virtual void resetState() {}
+
+ /// Update internal state with \p Inst at \p Addr.
+ ///
+ /// For some types a analyses, inspecting a single instruction is not
----------------
arichardson wrote:
```suggestion
/// For some types of analyses, inspecting a single instruction is not
```
https://github.com/llvm/llvm-project/pull/65480
More information about the llvm-commits
mailing list