blob: 83224106c463a456954e92b36748ce1786dc8951 [file] [log] [blame]
Chandler Carruth625038d2016-12-27 07:18:43 +00001; RUN: opt -S -passes='cgscc(inline)' < %s | FileCheck %s
David Majnemerb8da3a22016-06-25 00:04:10 +00002target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
3target triple = "x86_64-unknown-linux-gnu"
4
5define void @test1() {
6entry:
7 call void @test2()
8 ret void
9}
10
11define internal void @test2() {
12entry:
13 call void undef()
14 ret void
15}
16
17; CHECK-LABEL: define void @test1(
18; CHECK: call void undef(
19; CHECK: ret void