mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 06:29:59 +00:00
153062896c
r370083 has been reverted, which this change depends on. llvm-svn: 370147
13 lines
531 B
LLVM
13 lines
531 B
LLVM
; RUN: llvm-as %s -o %t.bc
|
|
; 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
|
|
; 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
|
|
; CHECK-BEFORE: *** IR Dump Before GlobalDCEPass ***
|
|
; CHECK-AFTER: *** IR Dump After GlobalDCEPass ***
|
|
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
define i32 @foo() {
|
|
ret i32 42
|
|
}
|