[all-commits] [llvm/llvm-project] 81c4e5: [StandardInstrumentations] Handle case where block...

aeubanks via All-commits all-commits at lists.llvm.org
Mon Aug 8 07:42:01 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81c4e58e2adae7f9711253c07bc0c96dbc6d1b0b
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M llvm/lib/Passes/StandardInstrumentations.cpp
    A llvm/test/Other/ChangePrinters/print-changed-diff-block-ordering-changed.ll

  Log Message:
  [StandardInstrumentations] Handle case where block order changes

Previously we'd go off the end of the BI iterator because we expected
that the relative positions of common blocks before and after were
consistent. That's not always true though, for example with

Reviewed By: jamieschmeiser

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

More information about the All-commits mailing list