2018-06-05 05:43:28 +08:00
|
|
|
; RUN: opt < %s -globals-aa -functionattrs | \
|
2018-06-05 08:56:08 +08:00
|
|
|
; RUN: opt -S -strip -strip-dead-prototypes -strip-named-metadata > %t.no_dbg
|
2018-06-05 05:43:28 +08:00
|
|
|
|
|
|
|
; RUN: opt < %s -debugify-each -globals-aa -functionattrs | \
|
2018-06-05 08:56:08 +08:00
|
|
|
; RUN: opt -S -strip -strip-dead-prototypes -strip-named-metadata > %t.with_dbg
|
2018-06-05 05:43:28 +08:00
|
|
|
|
|
|
|
; RUN: diff %t.no_dbg %t.with_dbg
|
|
|
|
|
|
|
|
define i32 @f_1(i32 %x) {
|
|
|
|
%tmp = call i32 @f_1(i32 0) [ "deopt"() ]
|
|
|
|
ret i32 0
|
|
|
|
}
|