]> granicus.if.org Git - llvm/commit
[MCA] Ignore invalid processor resource writes of zero cycles. NFCI
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 14 Jun 2019 13:31:21 +0000 (13:31 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 14 Jun 2019 13:31:21 +0000 (13:31 +0000)
commit749bf3be5e08c780ae8402f4ed8a193d01a0fe44
tree2d5e152c7eefe6078fa4b2774c66251356ab9f81
parenta18f8034e741d90fb5f518ba4b8c6028f4c65d54
[MCA] Ignore invalid processor resource writes of zero cycles. NFCI

In debug mode, the tool also raises a warning and prints out a message which
helps identify the problematic MCWriteProcResEntry from the scheduling class.
This message would have been useful to have when triaging PR42282.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363387 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MCA/InstrBuilder.cpp