[PATCH] D35888: Changed basic cost of Store operation on X86.
Evgeny Astigeevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 08:33:11 PDT 2017
eastig added a comment.
Hi Elena,
There is already
/// \return The cost of Load and Store instructions.
int TargetTransformInfo::getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment,
unsigned AddressSpace, const Instruction *I = nullptr) const;
Maybe it should be updated and used?
Repository:
rL LLVM
https://reviews.llvm.org/D35888
More information about the llvm-commits
mailing list