[all-commits] [llvm/llvm-project] 481a32: Bug fix on stable hash calculation for machine ope...
yozhu via All-commits
all-commits at lists.llvm.org
Mon Sep 12 13:26:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 481a32f58745a1216589c5263772030e16011a45
https://github.com/llvm/llvm-project/commit/481a32f58745a1216589c5263772030e16011a45
Author: YongKang Zhu <yongzhu at fb.com>
Date: 2022-09-12 (Mon, 12 Sep 2022)
Changed paths:
M llvm/include/llvm/CodeGen/MachineOperand.h
M llvm/lib/CodeGen/MachineOperand.cpp
M llvm/lib/CodeGen/MachineStableHash.cpp
Log Message:
-----------
Bug fix on stable hash calculation for machine operands RegisterMask and RegisterLiveOut
MachineOperand::getRegMask() returns a pointer to register mask. We should hash the raw content of register mask instead of its pointer.
Reviewed By: kyulee
Differential Revision: https://reviews.llvm.org/D133637
More information about the All-commits
mailing list