[PATCH] Adjust the cost of vectorized SHL/SRL/SRA

Simon Pilgrim llvm-dev at redking.me.uk
Sun May 31 05:02:58 PDT 2015


Thank you for the update. I don't know enough about the LoopVectorize code to review but the TTI cost model looks correct.

Please can you add uniform non-constant tests to:

test/Analysis/CostModel/X86/testshiftashr.ll
test/Analysis/CostModel/X86/testshiftlshr.ll
test/Analysis/CostModel/X86/testshiftshl.ll


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9923

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






More information about the llvm-commits mailing list