[PATCH] TLI: Add addVectorizableFunctionsFromVecLib.

hfinkel at anl.gov hfinkel at anl.gov
Wed Mar 11 00:31:31 PDT 2015


This test depends on the X86 code model, and needs to be in the test/Transforms/LoopVectorize/X86 directory.


================
Comment at: test/Transforms/LoopVectorize/veclib-calls.ll:7
@@ +6,3 @@
+;CHECK-LABEL: @sqrt_f32(
+;CHECK: sqrtf{{.*}}<4 x float>
+;CHECK: ret void
----------------
Please, here and below, check for the 'v' in the name, so we make sure that we've actually produced a call to the vector function, not an incorrect call to the scalar function with vector types somehow.

http://reviews.llvm.org/D8131

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list