[llvm] [AArch64][GlobalISel] Split offsets of consecutive stores to aid STP … (PR #66980)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 21 01:05:36 PDT 2023
================
@@ -439,6 +441,19 @@ class AArch64PostLegalizerCombiner : public MachineFunctionPass {
private:
bool IsOptNone;
AArch64PostLegalizerCombinerImplRuleConfig RuleConfig;
+
+
+ struct StoreInfo {
+ GStore *St;
+ GPtrAdd *Ptr;
+ int64_t Offset;
+ LLT StoredType;
----------------
Pierre-vh wrote:
tiny optional nit: I'd prefer seeing default values for the first 3 fields - makes it easier to tell what's going on if we access some uninitialized data on accident.
https://github.com/llvm/llvm-project/pull/66980
More information about the llvm-commits
mailing list