[PATCH] D88455: [NFC][regalloc] Unit test for AllocationOrder iteration.

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 16:44:45 PDT 2020


mtrofin created this revision.
mtrofin added reviewers: qcolombet, wmi.
Herald added subscribers: llvm-commits, hiraditya, mgorny, MatzeB.
Herald added a project: LLVM.
mtrofin requested review of this revision.

Added unittests. In the process, separated core construction - which just
needs the hits, order, and 'HardHints' values - from construction from
current register allocation state, to simplify testing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88455

Files:
  llvm/lib/CodeGen/AllocationOrder.cpp
  llvm/lib/CodeGen/AllocationOrder.h
  llvm/lib/CodeGen/RegAllocBasic.cpp
  llvm/lib/CodeGen/RegAllocGreedy.cpp
  llvm/unittests/CodeGen/AllocationOrderTest.cpp
  llvm/unittests/CodeGen/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88455.294831.patch
Type: text/x-patch
Size: 10166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200928/2b8c1aef/attachment.bin>


More information about the llvm-commits mailing list