mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
dabbc4dc8d
-filter-print-funcs -print-changed was crashing after the filter func was removed by a pass with Assertion failed: After.find("*** IR Dump") == 0 && "Unexpected banner format." We weren't printing the banner because when we have -filter-print-funcs, we print each function separately, letting the print function filter out unwanted functions. Reviewed By: jamieschmeiser Differential Revision: https://reviews.llvm.org/D100237
8 lines
249 B
LLVM
8 lines
249 B
LLVM
; RUN: opt -passes=globaldce < %s -disable-output -print-changed -filter-print-funcs=f 2>&1 | FileCheck %s
|
|
|
|
; CHECK-NOT: IR Dump After GlobalDCEPass
|
|
; CHECK: IR Deleted After GlobalDCEPass
|
|
; CHECK-NOT: IR Dump After GlobalDCEPass
|
|
|
|
declare void @f()
|