[all-commits] [llvm/llvm-project] 137538: [verify-regalloc] Verify after allocation and befo...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Feb 18 09:11:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13753808f4e990089bf34ff44474e85cc3e6e775
      https://github.com/llvm/llvm-project/commit/13753808f4e990089bf34ff44474e85cc3e6e775
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocGreedy.cpp

  Log Message:
  -----------
  [verify-regalloc] Verify after allocation and before postOptimization

I've now hit several cases where a mistake in the regalloc main loop caused corrupt live intervals that didn't get caught until either the next verify or during post-optimization.  The later case is rather confusing and tends to lead one down false trails, so let's catch corruption before that.




More information about the All-commits mailing list