HomePhabricator

Add llvm.licm.disable metadata

Authored by timcorringham on Aug 8 2019, 6:46 AM.

Description

Add llvm.licm.disable metadata

For some targets the LICM pass can result in sub-optimal code in some
cases where it would be better not to run the pass, but it isn't
always possible to suppress the transformations heuristically.

Where the front-end has insight into such cases it is beneficial
to attach loop metadata to disable the pass - this change adds the
llvm.licm.disable metadata to enable that.

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

llvm-svn: 368296

Details

Committed
timcorringhamAug 8 2019, 6:46 AM
Differential Revision
D64557: Add llvm.loop.licm.disable metadata
Parents
rG195ae90307bd: [OPENMP]Add support for analysis of linear variables and step.
Branches
Unknown
Tags
Unknown