aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/memmove.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/memmove.ll')
-rw-r--r--test/Transforms/InstCombine/memmove.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/memmove.ll b/test/Transforms/InstCombine/memmove.ll
index 2cb346f..09ec67d 100644
--- a/test/Transforms/InstCombine/memmove.ll
+++ b/test/Transforms/InstCombine/memmove.ll
@@ -34,3 +34,9 @@ define i32 @test3() {
ret i32 0
}
+; PR2370
+define void @test4(i8* %a) {
+ tail call void @llvm.memmove.i32( i8* %a, i8* %a, i32 100, i32 1 )
+ ret void
+}
+