forked from OSchip/llvm-project
b0c9753691
Summary: The New Pass Manager infrastructure was forgetting to keep around the optimization remark yaml file that the compiler might have been producing. This meant setting the option to '-' for stdout worked, but setting it to a filename didn't give file output (presumably it was deleted because compilation didn't explicitly keep it). This change just ensures that the file is kept if compilation succeeds. So far I have updated one of the optimization remark output tests to add a version with the new pass manager. It is my intention for this patch to also include changes to all tests that use `-opt-remark-output=` but I wanted to get the code patch ready for review while I was making all those changes. Fixes https://bugs.llvm.org/show_bug.cgi?id=33951 Reviewers: anemet, chandlerc Reviewed By: anemet, chandlerc Subscribers: javed.absar, chandlerc, fhahn, llvm-commits Differential Revision: https://reviews.llvm.org/D36906 llvm-svn: 311271 |
||
---|---|---|
.. | ||
already-vectorized.ll | ||
assume.ll | ||
avx1.ll | ||
avx512.ll | ||
consecutive-ptr-uniforms.ll | ||
constant-vector-operand.ll | ||
conversion-cost.ll | ||
cost-model.ll | ||
float-induction-x86.ll | ||
force-ifcvt.ll | ||
fp32_to_uint32-cost-model.ll | ||
fp64_to_uint32-cost-model.ll | ||
fp_to_sint8-cost-model.ll | ||
funclet.ll | ||
gather-cost.ll | ||
gather-vs-interleave.ll | ||
gather_scatter.ll | ||
gcc-examples.ll | ||
illegal-parallel-loop-uniform-write.ll | ||
imprecise-through-phis.ll | ||
int128_no_gather.ll | ||
interleaving.ll | ||
lit.local.cfg | ||
masked_load_store.ll | ||
max-mstore.ll | ||
metadata-enable.ll | ||
min-trip-count-switch.ll | ||
mul_slm_16bit.ll | ||
no-vector.ll | ||
no_fpmath.ll | ||
no_fpmath_with_hotness.ll | ||
parallel-loops-after-reg2mem.ll | ||
parallel-loops.ll | ||
powof2div.ll | ||
propagate-metadata.ll | ||
ptr-indvar-crash.ll | ||
rauw-bug.ll | ||
reduction-crash.ll | ||
reg-usage-debug.ll | ||
reg-usage.ll | ||
register-assumption.ll | ||
scatter_crash.ll | ||
slm-no-vectorize.ll | ||
small-size.ll | ||
strided_load_cost.ll | ||
struct-store.ll | ||
svml-calls-finite.ll | ||
svml-calls.ll | ||
tripcount.ll | ||
uint64_to_fp64-cost-model.ll | ||
uniform-phi.ll | ||
uniform_load.ll | ||
uniformshift.ll | ||
unroll-pm.ll | ||
unroll-small-loops.ll | ||
unroll_selection.ll | ||
veclib-calls.ll | ||
vect.omp.force.ll | ||
vect.omp.force.small-tc.ll | ||
vector-scalar-select-cost.ll | ||
vector_max_bandwidth.ll | ||
vector_ptr_load_store.ll | ||
vectorization-remarks-loopid-dbg.ll | ||
vectorization-remarks-missed.ll | ||
vectorization-remarks-profitable.ll | ||
vectorization-remarks.ll | ||
vectorize-only-for-real.ll | ||
x86-predication.ll | ||
x86_fp80-vector-store.ll |