RegAllocGreedy: Add a command line flag for reverseLocalAssignment
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 23 Jul 2022 13:33:21 +0000 (09:33 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 25 Jul 2022 19:47:15 +0000 (15:47 -0400)
commit62531518f989fb7dacf4b4bd3fa781a99f65c55e
tree02f3a7732a9104862456568533f0226281ceecf6
parentcb0c71e8b198aedd7569c0561ad3efba1d3d5766
RegAllocGreedy: Add a command line flag for reverseLocalAssignment

Introduce a flag like for some of the other target heuristic controls
to help with experimentation.
llvm/lib/CodeGen/RegAllocGreedy.cpp
llvm/lib/CodeGen/RegAllocGreedy.h
llvm/test/CodeGen/AMDGPU/greedy-reverse-local-assignment.ll [new file with mode: 0644]