summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ASTUnit.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-01-30 05:38:05 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-01-30 05:38:05 +0000
commit3f71d6a38e7eabff47fa7900bd609b0fa64b1670 (patch)
tree63d4865b9d2134caf2c35e04acf43286adf1ac10 /clang/lib/Frontend/ASTUnit.cpp
parent0265a3947280915c55cd6224c42447d924639405 (diff)
downloadbcm5719-llvm-3f71d6a38e7eabff47fa7900bd609b0fa64b1670.tar.gz
bcm5719-llvm-3f71d6a38e7eabff47fa7900bd609b0fa64b1670.zip
[LoopVectorize] Improve getVectorCallCost() getScalarizationOverhead() call.
By calling getScalarizationOverhead with the CallInst instead of the types of its arguments, we make sure that only unique call arguments are added to the scalarization cost. getScalarizationOverhead() is extended to handle calls by only passing on the actual call arguments (which is not all the operands). This also eliminates a wrapper function with the same name. review: Hal Finkel llvm-svn: 293459
Diffstat (limited to 'clang/lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud