OSDN Git Service

[X86] Connect the flags user from PCMPISTR instructions to the correct node from...
authorCraig Topper <craig.topper@intel.com>
Thu, 12 Jul 2018 18:04:05 +0000 (18:04 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 12 Jul 2018 18:04:05 +0000 (18:04 +0000)
commite3a92755ac6c9d78e7fc858fb88c5f9c84f89e5d
tree337bb492af863736d5660129b3690364eb291508
parent6e9115adb502b7d5d19b17b29fb210269f43066e
[X86] Connect the flags user from PCMPISTR instructions to the correct node from the instruction.

We were accidentally connecting it to result 0 instead of result 1. This was caught by the machine verifier that noticed the flags were dead, but we were using them somehow. I'm still not clear what actually happened downstream.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336925 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp