[AMDGPU] Skip CFIInstructions in SIInsertWaitcnts
authorScott Linder <Scott.Linder@amd.com>
Wed, 17 Jun 2020 16:38:34 +0000 (12:38 -0400)
committerScott Linder <Scott.Linder@amd.com>
Wed, 17 Jun 2020 16:41:03 +0000 (12:41 -0400)
commit691ff4682f8c263082750d43e03ea378841acc8d
tree6ff48884b3385035bd89264dad151470eb11180c
parent4317ee27bd64759b922438659f5b6883c0fbe404
[AMDGPU] Skip CFIInstructions in SIInsertWaitcnts

Summary:
CFI emitted during PEI at the beginning of the prologue needs to apply
to any inserted waitcnts on function entry.

Reviewers: arsenm, t-tye, RamNalamothu

Reviewed By: arsenm

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm, #debug-info

Differential Revision: https://reviews.llvm.org/D76881
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
llvm/test/CodeGen/AMDGPU/split-arg-dbg-value.ll
llvm/test/CodeGen/AMDGPU/vgpr-descriptor-waterfall-loop-idom-update.ll
llvm/test/CodeGen/AMDGPU/waitcnt-skip-meta.mir [new file with mode: 0644]