[PATCH] [Compiler-rt][MIPS][Profile] Adding support for MIPS32/64

Mohit Bhakkad mohit.bhakkad at imgtec.com
Thu Sep 25 22:57:40 PDT 2014


REPOSITORY
  rL LLVM

================
Comment at: cmake/config-ix.cmake:101
@@ -100,2 +100,3 @@
   elseif("${LLVM_NATIVE_ARCH}" STREQUAL "Mips")
-    test_target_arch(mips "")
+    if("${COMPILER_RT_TEST_TARGET_ARCH}" MATCHES "el$")
+      # regex for mipsel, mips64el
----------------
samsonov wrote:
> Why not just write "mipsel|mips64el" ?
Yes, I will change it, and thinking about using STREQUAL instead of MATCHES which will result in faster comparison.

http://reviews.llvm.org/D4880






More information about the llvm-commits mailing list