OSDN Git Service

[CodeGen] allow printing of zero latency in sched comments
authorSanjay Patel <spatel@rotateright.com>
Wed, 14 Mar 2018 15:28:48 +0000 (15:28 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 14 Mar 2018 15:28:48 +0000 (15:28 +0000)
commita816f42e4da693f2e749b855da55d7bb4e4ccad4
treee4e55976d8e6280d2d4772be43f14e2356eef5fe
parentce305b301269acc060c73103fcd09778080360c9
[CodeGen] allow printing of zero latency in sched comments

I don't know how to expose this in a test. There are ARM / AArch64
sched classes that include zero latency instructions, but I'm not
seeing sched info printed for those targets. X86 will almost
certainly have these soon (see PR36671), but no model has
'let Latency = 0' currently.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327518 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetSubtargetInfo.cpp