[PATCH] D127281: [Greedy RegAlloc] Fix the handling of split register in last chance re-coloring.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 07:11:14 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/regalloc-last-chance-recolor-with-split.mir:1
-# RUN: not --crash llc -mattr="+reserve-x28" --start-before=greedy -verify-machineinstrs %s -o - 2>&1 | FileCheck %s
+# RUN: llc -mattr="+reserve-x28" --start-before=greedy -verify-machineinstrs %s -o - 2>&1 | FileCheck %s
 
----------------
Why still redirect stderr?


================
Comment at: llvm/test/CodeGen/AArch64/regalloc-last-chance-recolor-with-split.mir:3
 
-# CHECK: Non-empty but used interval
+# CHECK-LABEL: ham
 
----------------
This should get some actual checks, probably should just use update_mir_test_checks


================
Comment at: llvm/test/CodeGen/AMDGPU/remaining-virtual-register-operands.ll:8-11
+; The machine verifier complains about usage of register
+; which is marked as killed in previous instruction.
+; This happens due to when register allocator is out of registers
+; it takes the first avialable register.
----------------
This is the problem D122616 is trying to solve


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127281/new/

https://reviews.llvm.org/D127281



More information about the llvm-commits mailing list