[HardwareLoops] Optimisation remarks
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Wed, 16 Oct 2019 09:09:55 +0000 (09:09 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Wed, 16 Oct 2019 09:09:55 +0000 (09:09 +0000)
commitad763751565b9663bc338fa2ca5ade86c6ca22ec
tree76b0887e864ae5095d308837d7a68c1d2ff56d57
parent8af5ada09319e5a021d57a1a03715b2fd022e415
[HardwareLoops] Optimisation remarks

This adds the initial plumbing to support optimisation remarks in
the IR hardware-loop pass.

I have left a todo in a comment where we can improve the reporting,
and will iterate on that now that we have this initial support in.

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

llvm-svn: 374980
llvm/lib/CodeGen/HardwareLoops.cpp
llvm/test/CodeGen/ARM/O3-pipeline.ll
llvm/test/Transforms/HardwareLoops/ARM/structure.ll
llvm/test/Transforms/HardwareLoops/unconditional-latch.ll