Files
clang-p2996/llvm/test/Other/ChangePrinters/print-changed-diff-empty-bb-name.ll
Arthur Eubanks 43aa4ac70b [StandardInstrumentations] Assign names to basic blocks without names
Fixes code in OrderedChangedData<T>::report which assumes that a string will only appear once in Before/After.

Reviewed By: jamieschmeiser

Differential Revision: https://reviews.llvm.org/D130587
2022-08-02 11:04:01 -07:00

19 lines
270 B
LLVM

; RUN: opt -passes=inline %s -disable-output --print-changed=diff 2>&1 | FileCheck %s
; CHECK: IR Dump After InlinerPass
define void @f(i1 %i) {
call void @g(i1 %i)
ret void
}
define void @g(i1 %i) {
br i1 %i, label %1, label %2
1:
ret void
2:
ret void
}