[llvm] [RISCV] Add support for handling one tied operand in the source instruction for compress patterns (PR #143660)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 16 09:55:38 PDT 2025
================
@@ -123,7 +124,7 @@ class CompressInstEmitter {
const RecordKeeper &Records;
const CodeGenTarget Target;
std::vector<CompressPat> CompressPatterns;
-
+ unsigned SourceLastTiedOp; // postion of the last tied operand in Source Inst
----------------
topperc wrote:
No other class members are storing a state for single instruction. Is this just a temporary variable between 2 different functions while processing a single instruction? Can we just make it a reference argument to the relevant function that needs to modify it?
https://github.com/llvm/llvm-project/pull/143660
More information about the llvm-commits
mailing list