1; RUN: llvm-as %s -o %t.bc 2; RUN: llvm-lto2 run -r=%t.bc,foo,pxl -use-new-pm --print-before-all %t.bc -o %t2 2>&1 | FileCheck %s --check-prefix=CHECK-BEFORE 3; RUN: llvm-lto2 run -r=%t.bc,foo,pxl -use-new-pm --print-after-all %t.bc -o %t3 2>&1 | FileCheck %s --check-prefix=CHECK-AFTER 4; CHECK-BEFORE: *** IR Dump Before GlobalDCEPass *** 5; CHECK-AFTER: *** IR Dump After GlobalDCEPass *** 6 7target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 8target triple = "x86_64-unknown-linux-gnu" 9 10define i32 @foo() { 11 ret i32 42 12} 13