[AMDGPU] Set LoopInfo as preserved by SIAnnotateControlFlow
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 7 Jul 2021 19:28:30 +0000 (12:28 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Thu, 8 Jul 2021 16:34:43 +0000 (09:34 -0700)
commit74a5760d35e2e75a295793e09260120ef0c5f4ea
treec78afffec60c37489d9e8c4521297ec68d46fd18
parentd2a8d362c592b2f1918a0f8dca7442f9dd44fe82
[AMDGPU] Set LoopInfo as preserved by SIAnnotateControlFlow

The pass does not change loops, it just adds calls.

Differential Revision: https://reviews.llvm.org/D105583
llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
llvm/test/CodeGen/AMDGPU/llc-pipeline.ll