about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-07-10 22:56:42 +0200
committerGitHub <noreply@github.com>2018-07-10 22:56:42 +0200
commitaa9ee687f3b41773e2ea3a3a5574fc213ee2976a (patch)
tree605fef0eb9ea439976ef4a111762638a326de706 /src/rustllvm/RustWrapper.cpp
parentf7c2efddc78086dc81f3ff86641c63318bf072c0 (diff)
parentaac0d914b2d776c43d6c95054815f49e19792e6e (diff)
downloadrust-aa9ee687f3b41773e2ea3a3a5574fc213ee2976a.tar.gz
rust-aa9ee687f3b41773e2ea3a3a5574fc213ee2976a.zip
Rollup merge of #52171 - bharrisau:fsub-count, r=estebank
Correct some codegen stats counter inconsistencies

I noticed some possible typos/inconsistencies in the codegen counters. For example, `fsub` was getting counted as an integer `sub`, whereas `fadd` was counted as an add. And `addincoming` was only being counted on the initial call.

https://github.com/rust-lang/rust/blob/dbd10f81758381339f98994b8d31814cf5e98707/src/librustc_codegen_llvm/builder.rs#L831-L841

Only remaining inconsistencies I can see are things like `fadd_fast` are counted as `fadd`. But the vector versions like `vector_reduce_fmax_fast` are counted as `vector.reduce.fmax_fast` not as their 'base' versions (`vector_reduce_fmax` is counted as `vector.reduce.fmax`).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions