[PATCH] D29882: [Builtin][ARM] #ifdef ARM vfp tests and cpu_model_tests

Weiming Zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 12 23:18:52 PST 2017


weimingz created this revision.
Herald added a subscriber: aemerson.

Add in #ifdef to exclude cpu_model_test on non-X86 and  *vfp_test on ARM targets without VFP support.

This is consistent with other target-specific tests that print "Skipped" if not supported.


https://reviews.llvm.org/D29882

Files:
  test/builtins/Unit/adddf3vfp_test.c
  test/builtins/Unit/addsf3vfp_test.c
  test/builtins/Unit/cpu_model_test.c
  test/builtins/Unit/divdf3vfp_test.c
  test/builtins/Unit/divsf3vfp_test.c
  test/builtins/Unit/eqdf2vfp_test.c
  test/builtins/Unit/eqsf2vfp_test.c
  test/builtins/Unit/extebdsfdf2vfp_test.c
  test/builtins/Unit/fixdfsivfp_test.c
  test/builtins/Unit/fixsfsivfp_test.c
  test/builtins/Unit/fixunsdfsivfp_test.c
  test/builtins/Unit/fixunssfsivfp_test.c
  test/builtins/Unit/floatsidfvfp_test.c
  test/builtins/Unit/floatsisfvfp_test.c
  test/builtins/Unit/floatunssidfvfp_test.c
  test/builtins/Unit/floatunssisfvfp_test.c
  test/builtins/Unit/gedf2vfp_test.c
  test/builtins/Unit/gesf2vfp_test.c
  test/builtins/Unit/gtdf2vfp_test.c
  test/builtins/Unit/gtsf2vfp_test.c
  test/builtins/Unit/ledf2vfp_test.c
  test/builtins/Unit/lesf2vfp_test.c
  test/builtins/Unit/ltdf2vfp_test.c
  test/builtins/Unit/ltsf2vfp_test.c
  test/builtins/Unit/muldf3vfp_test.c
  test/builtins/Unit/mulsf3vfp_test.c
  test/builtins/Unit/nedf2vfp_test.c
  test/builtins/Unit/negdf2vfp_test.c
  test/builtins/Unit/negsf2vfp_test.c
  test/builtins/Unit/nesf2vfp_test.c
  test/builtins/Unit/subdf3vfp_test.c
  test/builtins/Unit/subsf3vfp_test.c
  test/builtins/Unit/truncdfsf2vfp_test.c
  test/builtins/Unit/unorddf2vfp_test.c
  test/builtins/Unit/unordsf2vfp_test.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29882.88159.patch
Type: text/x-patch
Size: 19118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170213/0f4b618f/attachment-0001.bin>


More information about the llvm-commits mailing list