OSDN Git Service

The ANDMask node folds to a constant, and isn't the node that needs to
authorDan Gohman <gohman@apple.com>
Mon, 3 Nov 2008 23:43:55 +0000 (23:43 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 3 Nov 2008 23:43:55 +0000 (23:43 +0000)
commitf6503a031e2459be63ebc688d32577d9f70da354
tree0868bdd1aefddebe9623405d2f2eeeb78735affa
parentb6dc9352b0d8361609c310699ce58a517fdc2264
The ANDMask node folds to a constant, and isn't the node that needs to
have its node id set. The new and and shift nodes are the nodes that need
the IDs. This fixes PR2982.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58655 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/pr2982.ll [new file with mode: 0644]