[Pipeliner] Fix the bug in pragma that disables the pipeliner.
authorSumanth Gundapaneni <sgundapa@quicinc.com>
Fri, 10 Apr 2020 17:50:43 +0000 (12:50 -0500)
committerSumanth Gundapaneni <sgundapa@quicinc.com>
Fri, 10 Apr 2020 17:52:16 +0000 (12:52 -0500)
commita04ab2ec08014d36337d686d43ecef7668622f1b
tree890f69fd2e93dda7867fef3082ade25775f8e62d
parentbef187c75090fee0ab5b081db0f4b5ca075c4932
[Pipeliner] Fix the bug in pragma that disables the pipeliner.

Differential Revision: https://reviews.llvm.org/D76303.
llvm/lib/CodeGen/MachinePipeliner.cpp
llvm/test/CodeGen/Hexagon/swp-pragma-disable-bug.ll [new file with mode: 0644]