blob: 08195da75e853d5d0bb95be6b79f137f4c94ad9c [file] [log] [blame]
Vedant Kumar8c3bbfc2018-06-04 21:43:28 +00001; RUN: opt < %s -globals-aa -functionattrs | \
Vedant Kumar9e729a32018-06-05 00:56:08 +00002; RUN: opt -S -strip -strip-dead-prototypes -strip-named-metadata > %t.no_dbg
Vedant Kumar8c3bbfc2018-06-04 21:43:28 +00003
4; RUN: opt < %s -debugify-each -globals-aa -functionattrs | \
Vedant Kumar9e729a32018-06-05 00:56:08 +00005; RUN: opt -S -strip -strip-dead-prototypes -strip-named-metadata > %t.with_dbg
Vedant Kumar8c3bbfc2018-06-04 21:43:28 +00006
7; RUN: diff %t.no_dbg %t.with_dbg
8
9define i32 @f_1(i32 %x) {
10 %tmp = call i32 @f_1(i32 0) [ "deopt"() ]
11 ret i32 0
12}