[PATCH] D68838: [ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 3

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 15:21:32 PDT 2019


rsmith added a comment.

Thanks again! In my testing, this is enough to get the clang testsuite to pass with the default changed to `-flax-vector-conversions=integer`.



================
Comment at: test/CodeGen/aarch64-v8.2a-neon-intrinsics.c:149-170
+uint16x4_t test_vcvt_u16_f16 (float16x4_t a) {
   return vcvt_u16_f16(a);
 }
 
 // CHECK-LABEL: test_vcvtq_u16_f16
 // CHECK:  [[VCVT:%.*]] = fptoui <8 x half> %a to <8 x i16>
 // CHECK:  ret <8 x i16> [[VCVT]]
----------------
I already committed these three fixes in r374457.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68838/new/

https://reviews.llvm.org/D68838





More information about the cfe-commits mailing list