diff options
Diffstat (limited to 'test/Transforms/MergeFunc/too-small.ll')
-rw-r--r-- | test/Transforms/MergeFunc/too-small.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Transforms/MergeFunc/too-small.ll b/test/Transforms/MergeFunc/too-small.ll new file mode 100644 index 0000000..1a526ff --- /dev/null +++ b/test/Transforms/MergeFunc/too-small.ll @@ -0,0 +1,14 @@ +; 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 +} + |