[llvm] r275294 - Move mempcpy_call.ll to X86 subdirectory

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 13 11:28:45 PDT 2016


Author: kparzysz
Date: Wed Jul 13 13:28:45 2016
New Revision: 275294

URL: http://llvm.org/viewvc/llvm-project?rev=275294&view=rev
Log:
Move mempcpy_call.ll to X86 subdirectory

Added:
    llvm/trunk/test/CodeGen/X86/mempcpy_call.ll
Removed:
    llvm/trunk/test/CodeGen/Generic/mempcpy_call.ll

Removed: llvm/trunk/test/CodeGen/Generic/mempcpy_call.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/mempcpy_call.ll?rev=275293&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/mempcpy_call.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/mempcpy_call.ll (removed)
@@ -1,16 +0,0 @@
-; RUN: llc < %s -O2 | FileCheck %s
-
-; This test just checks that mempcpy is lowered as memcpy.
-; The test to check that the return value of mempcpy is the dst pointer adjusted
-; by the copy size is done by Codegen/X86/mempcpy_ret_val.ll
-
-; CHECK-LABEL: CALL_MEMPCPY:
-; CHECK: callq memcpy
-;
-define void @CALL_MEMPCPY(i8* %DST, i8* %SRC, i64 %N) {
-entry:
-  %call = tail call i8* @mempcpy(i8* %DST, i8* %SRC, i64 %N)
-  ret void
-}
-
-declare i8* @mempcpy(i8*, i8*, i64)

Added: llvm/trunk/test/CodeGen/X86/mempcpy_call.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/mempcpy_call.ll?rev=275294&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/mempcpy_call.ll (added)
+++ llvm/trunk/test/CodeGen/X86/mempcpy_call.ll Wed Jul 13 13:28:45 2016
@@ -0,0 +1,16 @@
+; RUN: llc < %s -O2 | FileCheck %s
+
+; This test just checks that mempcpy is lowered as memcpy.
+; The test to check that the return value of mempcpy is the dst pointer adjusted
+; by the copy size is done by Codegen/X86/mempcpy_ret_val.ll
+
+; CHECK-LABEL: CALL_MEMPCPY:
+; CHECK: callq memcpy
+;
+define void @CALL_MEMPCPY(i8* %DST, i8* %SRC, i64 %N) {
+entry:
+  %call = tail call i8* @mempcpy(i8* %DST, i8* %SRC, i64 %N)
+  ret void
+}
+
+declare i8* @mempcpy(i8*, i8*, i64)




More information about the llvm-commits mailing list