HomePhabricator

[GVN] Basic optimization remark support

Description

[GVN] Basic optimization remark support

[recommitting after the fix in r288307]

Follow-on patches will add more interesting cases.

The goal of this patch-set is to get the GVN messages printed in
opt-viewer from Dhrystone as was presented in my Dev Meeting talk. This
is the optimization view for the function (the last remark in the
function has a bug which is fixed in this series):
http://lab.llvm.org:8080/artifacts/opt-view_test-suite/build/SingleSource/Benchmarks/Dhrystone/CMakeFiles/dry.dir/html/_org_test-suite_SingleSource_Benchmarks_Dhrystone_dry.c.html#L430

Differential Revision: https://reviews.llvm.org/D26488

Details

Committed
anemetDec 1 2016, 8:40 AM
Differential Revision
D26488: [GVN] Basic optimization remark support
Parents
rL288369: [SLP] Additional tests with the cost of vector operations.
Branches
Unknown
Tags
Unknown