[all-commits] [llvm/llvm-project] 03bb27: [BranchRelaxation] Strengthen post condition asser...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Jan 31 08:05:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03bb277f308e0e49d2d7f00719e908b8e10325b8
      https://github.com/llvm/llvm-project/commit/03bb277f308e0e49d2d7f00719e908b8e10325b8
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

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

  Log Message:
  -----------
  [BranchRelaxation] Strengthen post condition assertions

The whole point of this pass is to rewrite branches so that branches are in bounds. We should assert that we succeeded rather than just that we kept our internal data structure in sync.

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




More information about the All-commits mailing list