aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-02-16 10:40:28 -0500
committerSanjay Patel <spatel@rotateright.com>2020-02-16 10:40:28 -0500
commit62dd44d76da9aa596fb199bda8b1e8768bb41033 (patch)
treef16b74dca1db1f59ca115c4782027cac012ce0b0 /clang/lib/CodeGen/CodeGenFunction.cpp
parente48b536be66b60b05fa77b85258e6cf2ec417220 (diff)
downloadllvm-62dd44d76da9aa596fb199bda8b1e8768bb41033.zip
llvm-62dd44d76da9aa596fb199bda8b1e8768bb41033.tar.gz
llvm-62dd44d76da9aa596fb199bda8b1e8768bb41033.tar.bz2
[VectorCombine] fix cost calc for extract-cmp
getOperationCost() is not the cost we wanted; that's not the throughput value that the rest of the calculation uses. We may want to switch everything in this code to use the getInstructionThroughput() wrapper to avoid these kinds of problems, but I'll look at that as a follow-up because that can create other logical diffs via using optional parameters (we'd need to speculatively create the vector instruction to make a fair(er) comparison).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions