commit | 55d3e2aced7d0c2adfc76eec4de4ef31d55777d3 | [log] [tgz] |
---|---|---|
author | Guozhi Wei <carrot@google.com> | Fri Sep 22 18:25:53 2017 +0000 |
committer | Guozhi Wei <carrot@google.com> | Fri Sep 22 18:25:53 2017 +0000 |
tree | 5f81e298bdda457a2f5e3ad697946256f61fc635 | |
parent | b4d4e8cba86a569670445d6ec6a14ada2d447657 [diff] |
[TargetTransformInfo] Handle intrinsic call in getInstructionLatency() Usually an intrinsic is a simple target instruction, it should have a small latency. A real function call has much larger latency. So handle the intrinsic call in function getInstructionLatency(). Differential Revision: https://reviews.llvm.org/D38104 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314003 91177308-0d34-0410-b5e6-96231b3b80d8