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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 13:44:01 PDT 2022


efriedma added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineOperand.cpp:394
   case MachineOperand::MO_RegisterLiveOut:
     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getRegMask());
   case MachineOperand::MO_Metadata:
----------------
While you're here, can you also fix llvm::hash_value?


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