[PATCH] D14730: [Aarch64] Add zero cost for extensions that may be eliminated.

silviu.baranga@arm.com via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 08:45:01 PST 2015


sbaranga added a comment.

Ah, right. 44 is way too high. I suspect that the model was thinking that we would scalarize the operation.

I certainly wouldn't be opposed to a cost equal to the number of instructions (which would be near zero), but without assuming any context. Would that be enough for your use-case?

Thanks,
Silviu


http://reviews.llvm.org/D14730





More information about the llvm-commits mailing list