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

YongKang Zhu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 14:47:42 PDT 2022


yozhu 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:
----------------
efriedma wrote:
> While you're here, can you also fix llvm::hash_value?
Yes, will do. Thanks for pointing this out!


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