[Diffusion] rL248439: set div/rem default values to 'expensive' in TargetTransformInfo's cost model

escha via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 08:36:43 PDT 2015


escha added a subscriber: escha.
escha added a comment.

Same thought here; we have targets where fdiv is cheap (~2 instructions); on the order of 10-100+ times cheaper than sdiv/udiv on the same target. It doesn't seem right to mark fdiv as expensive on such a target.


Users:
  spatel (Author, Auditor)
  3.7-release (Auditor)
  llvm-commits (Auditor)
  tstellarAMD (Auditor)

http://reviews.llvm.org/rL248439





More information about the llvm-commits mailing list