[PATCH] D69688: [builtins] Move X86 common files to a subdirectory

Yi Kong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 15:11:53 PDT 2019


kongyi created this revision.
kongyi added reviewers: craig.topper, delcypher.
Herald added subscribers: llvm-commits, Sanitizers, mgorny.
Herald added projects: LLVM, Sanitizers.

With 8ea148dc0cbf <https://reviews.llvm.org/rG8ea148dc0cbff33ac3c80cf4273991465479a01e>, we can clean up the root directory of crt builtins by moving x86 common source files to a subdirectory.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D69688

Files:
  compiler-rt/lib/builtins/CMakeLists.txt
  compiler-rt/lib/builtins/cpu_model.c
  compiler-rt/lib/builtins/divxc3.c
  compiler-rt/lib/builtins/fixunsxfdi.c
  compiler-rt/lib/builtins/fixunsxfsi.c
  compiler-rt/lib/builtins/fixunsxfti.c
  compiler-rt/lib/builtins/fixxfdi.c
  compiler-rt/lib/builtins/fixxfti.c
  compiler-rt/lib/builtins/floatdixf.c
  compiler-rt/lib/builtins/floattixf.c
  compiler-rt/lib/builtins/floatundixf.c
  compiler-rt/lib/builtins/floatuntixf.c
  compiler-rt/lib/builtins/mulxc3.c
  compiler-rt/lib/builtins/powixf2.c
  compiler-rt/lib/builtins/x86_common/cpu_model.c
  compiler-rt/lib/builtins/x86_common/divxc3.c
  compiler-rt/lib/builtins/x86_common/fixunsxfdi.c
  compiler-rt/lib/builtins/x86_common/fixunsxfsi.c
  compiler-rt/lib/builtins/x86_common/fixunsxfti.c
  compiler-rt/lib/builtins/x86_common/fixxfdi.c
  compiler-rt/lib/builtins/x86_common/fixxfti.c
  compiler-rt/lib/builtins/x86_common/floatdixf.c
  compiler-rt/lib/builtins/x86_common/floattixf.c
  compiler-rt/lib/builtins/x86_common/floatundixf.c
  compiler-rt/lib/builtins/x86_common/floatuntixf.c
  compiler-rt/lib/builtins/x86_common/mulxc3.c
  compiler-rt/lib/builtins/x86_common/powixf2.c


Index: compiler-rt/lib/builtins/CMakeLists.txt
===================================================================
--- compiler-rt/lib/builtins/CMakeLists.txt
+++ compiler-rt/lib/builtins/CMakeLists.txt
@@ -226,19 +226,19 @@
 
 # These sources work on all x86 variants, but only x86 variants.
 set(x86_ARCH_SOURCES
-  cpu_model.c
-  divxc3.c
-  fixxfdi.c
-  fixxfti.c
-  fixunsxfdi.c
-  fixunsxfsi.c
-  fixunsxfti.c
-  floatdixf.c
-  floattixf.c
-  floatundixf.c
-  floatuntixf.c
-  mulxc3.c
-  powixf2.c
+  x86_common/cpu_model.c
+  x86_common/divxc3.c
+  x86_common/fixxfdi.c
+  x86_common/fixxfti.c
+  x86_common/fixunsxfdi.c
+  x86_common/fixunsxfsi.c
+  x86_common/fixunsxfti.c
+  x86_common/floatdixf.c
+  x86_common/floattixf.c
+  x86_common/floatundixf.c
+  x86_common/floatuntixf.c
+  x86_common/mulxc3.c
+  x86_common/powixf2.c
 )
 
 if (NOT MSVC)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69688.227361.patch
Type: text/x-patch
Size: 858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191031/6460fda3/attachment.bin>


More information about the llvm-commits mailing list