[all-commits] [llvm/llvm-project] 484a74: [llvm][MIRVRegNamerUtils] Adding hashing on FrameI...

Puyan Lotfi via All-commits all-commits at lists.llvm.org
Mon Jan 13 10:40:39 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 484a7472f1aa6906f2b66dc33bcf69cc8d5b9f29
      https://github.com/llvm/llvm-project/commit/484a7472f1aa6906f2b66dc33bcf69cc8d5b9f29
  Author: Puyan Lotfi <puyan at puyan.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/MIRVRegNamerUtils.cpp
    A llvm/test/CodeGen/MIR/X86/mir-namer-hash-frameindex.mir

  Log Message:
  -----------
  [llvm][MIRVRegNamerUtils] Adding hashing on FrameIndex MachineOperands.

This patch makes it so that cases where multiple instructions that differ only
in their FrameIndex MachineOperand values no longer collide. For instance:

%1:_(p0) = G_FRAME_INDEX %stack.0
%2:_(p0) = G_FRAME_INDEX %stack.1

Prior to this patch these instructions would collide together.

Differential Revision: https://reviews.llvm.org/D71583




More information about the All-commits mailing list