[all-commits] [llvm/llvm-project] ba217b: [RegisterScavenging] Add asserts for better errors

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Fri Apr 9 02:26:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba217b465532f9251cbd11c2863312e4044aebbb
      https://github.com/llvm/llvm-project/commit/ba217b465532f9251cbd11c2863312e4044aebbb
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2021-04-09 (Fri, 09 Apr 2021)

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

  Log Message:
  -----------
  [RegisterScavenging] Add asserts for better errors

These cases were failing before, but with cryptic asserts.
Add asserts in the RegScavenger that fail earlier with better
messages. NFC

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




More information about the All-commits mailing list