summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2009-08-12 15:54:28 +0000
committerOscar Fuentes <ofv@wanadoo.es>2009-08-12 15:54:28 +0000
commitbcbae01797237291fc6d5ccb76166856e9ad98d6 (patch)
tree9802fbb01abbf6c6da134c7bbf754b8bd21383e4 /llvm/lib
parenta5fdfac6cac1626f8166747c7513968a86ed4e53 (diff)
downloadbcm5719-llvm-bcbae01797237291fc6d5ccb76166856e9ad98d6.tar.gz
bcm5719-llvm-bcbae01797237291fc6d5ccb76166856e9ad98d6.zip
CMake: Added asm file to x86_64 MSVC build.
llvm-svn: 78807
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/CMakeLists.txt b/llvm/lib/Target/X86/CMakeLists.txt
index fab3aa51469..05534233599 100644
--- a/llvm/lib/Target/X86/CMakeLists.txt
+++ b/llvm/lib/Target/X86/CMakeLists.txt
@@ -13,7 +13,7 @@ tablegen(X86GenFastISel.inc -gen-fast-isel)
tablegen(X86GenCallingConv.inc -gen-callingconv)
tablegen(X86GenSubtarget.inc -gen-subtarget)
-add_llvm_target(X86CodeGen
+set(sources
X86CodeEmitter.cpp
X86ELFWriterInfo.cpp
X86FloatingPoint.cpp
@@ -29,4 +29,11 @@ add_llvm_target(X86CodeGen
X86FastISel.cpp
)
+if( CL_64 )
+ enable_language(ASM_MASM)
+ set(sources ${sources} X86CompilationCallback_Win64.asm)
+endif()
+
+add_llvm_target(X86CodeGen ${sources})
+
target_link_libraries (LLVMX86CodeGen LLVMSelectionDAG)
OpenPOWER on IntegriCloud