mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
e06d79aa83
It's silly to merge functions like these: define void @foo(i32 %x) { ret void } define void @bar(i32 %x) { ret void } to get define void @bar(i32) { tail call void @foo(i32 %0) ret void } llvm-svn: 191786
15 lines
206 B
LLVM
15 lines
206 B
LLVM
; RUN: opt -S -mergefunc < %s | FileCheck %s
|
|
|
|
define void @foo(i32 %x) {
|
|
; CHECK-LABEL: @foo(
|
|
; CHECK-NOT: call
|
|
ret void
|
|
}
|
|
|
|
define void @bar(i32 %x) {
|
|
; CHECK-LABEL: @bar(
|
|
; CHECK-NOT: call
|
|
ret void
|
|
}
|
|
|