brintos

brintos / llvm-project-archived public Read only

0
0
Text · 525 B · 6cf5438 Raw
25 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 42; RUN: opt -passes=inline,newgvn -S < %s | FileCheck %s3 4 5define void @f2() {6; CHECK-LABEL: define void @f2() {7; CHECK-NEXT:    ret void8;9  call void @f1()10  call void @f1()11  ret void12}13 14define internal void @f1() #1 {15; CHECK-LABEL: define internal void @f1(16; CHECK-SAME: ) #[[ATTR0:[0-9]+]] {17; CHECK-NEXT:  entry:18; CHECK-NEXT:    ret void19;20entry:21  ret void22}23 24attributes #1 = { noinline nounwind readnone willreturn }25