[PATCH] D133637: Bug fix on stable hash calculation for machine operands RegisterMask and RegisterLiveOut

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 13:53:53 PDT 2022


MatzeB added a comment.

An alternative approach if we cannot guarantee the availabily of a MachineFunction reference, may be to change machine operands to store `ArrayRef<Register> RegMask` instead of `uint32_t RegMask`. It shouldn't affect memory usage because MachineOperand size is determined by the biggest union member anyway which is already 2 pointers...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133637



More information about the llvm-commits mailing list