[PATCH] D132080: RegisterClassInfo: Fix CSR cache invalidation

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 09:20:08 PDT 2022


MatzeB added a comment.

> Do you know where state might be affecting code generation?

I fix one instance of this with this very diff! `RegisterClassInfo::CalleeSavedRegs` is maintained between functions and before this diff the code sometimes incorrectly decided to keep the `RegisterClassInfo` data around where it should have been invalidated and recomputed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132080/new/

https://reviews.llvm.org/D132080



More information about the llvm-commits mailing list