[X86] X86ScheduleBdVer2: use !listsplat operator to cleanup loadres calculation
authorRoman Lebedev <lebedev.ri@gmail.com>
Wed, 10 Apr 2019 18:26:42 +0000 (18:26 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Wed, 10 Apr 2019 18:26:42 +0000 (18:26 +0000)
commitdc67659ba59e1165913d8654a172526f5fa61911
tree738fc79dc9587032686aaeae8a18a60e6cb19146
parent5d9f656bb75ed4d0b9eb628115edd785fc61473b
[X86] X86ScheduleBdVer2: use !listsplat operator to cleanup loadres calculation

The problem is that one can't concatenate an empty list
(implied all-ones) with non-empty list here. The result
will be the non-empty list, and it won't match the length
of the ExePorts list.

The problems begin when LoadRes != 1 here,
which is the case in PdWriteResYMMPair,
and more importantly i think it will be the case for PdWriteResExPair.

llvm-svn: 358118
llvm/lib/Target/X86/X86ScheduleBdVer2.td