[LoopIdiom] Basic OptimizationRemarkEmitter handling
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 30 May 2019 13:02:06 +0000 (13:02 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 30 May 2019 13:02:06 +0000 (13:02 +0000)
commite8578953ac6c3f708aa2081c9b11e0e946020e7c
treeef63a7f1aad3d06e2da10dba7bce48b44c637c75
parentfae2e46766c492e003e3be8bf32ef1acd5e1dcc0
[LoopIdiom] Basic OptimizationRemarkEmitter handling

Summary:
I'm adding ORE to memset/memcpy formation, with tests,
but mainly this is split off from D61144.

Reviewers: reames, anemet, thegameg, craig.topper

Reviewed By: thegameg

Subscribers: llvm-commits

Tags: #llvm

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

llvm-svn: 362092
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
llvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll [new file with mode: 0644]
llvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll [new file with mode: 0644]
llvm/test/Transforms/LoopIdiom/nontemporal_store.ll