[PATCH] D105113: [LV] Do cost comparison on InstructionCost directly.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 29 06:47:18 PDT 2021


dmgreen added a comment.

i64 for the type sounds OK to me. (The old methods was known not to overflow because of divideCeil being a int64_t and the other values being int32. But with saturation that should be fine now too)

Does this mean that invalid costs now don't vectorize? (For an invalid vector cost)

Is it possible to add a test for that?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105113



More information about the llvm-commits mailing list