Fix a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91741 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-12-19 01:46:09 +00:00
parent cd0129f5a6
commit 2929e1143a

View File

@ -1292,8 +1292,8 @@ public:
// possible and it avoids CSE map recalculation for the node's
// users, however it's tricky to use in a non-root context.
//
// We also don't use if the pattern replacement is being used to
// jettison a chain result, since morphing the node in place
// We also don't use SelectNodeTo if the pattern replacement is being
// used to jettison a chain result, since morphing the node in place
// would leave users of the chain dangling.
//
if (!isRoot || (InputHasChain && !NodeHasChain)) {