I've changed the semantics of MERGE_VALUES a bit. It's now allowed to live until...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 30 Jul 2009 08:44:08 +0000 (08:44 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 30 Jul 2009 08:44:08 +0000 (08:44 +0000)
commitf7ce11cf7107f0744b74e501f140e2782a77fe33
tree429c699ae09131fb98139816b55f4c0404fb53e5
parente62288fdd408fe52eb3d15cd2d139eaca9fd5a22
I've changed the semantics of MERGE_VALUES a bit. It's now allowed to live until scheduling. It's deleted when the scheduler translate DAG nodes to machine instructions.

This is currently used by X86 to handle atomic_load_add when the output of the node is not used. I believe there is a better solution. But I find MERGE_VALUES useful for selecting multi-output node when the dead output can be selected as a IMPLICIT_DEF.

llvm-svn: 77583
llvm/include/llvm/CodeGen/SelectionDAGNodes.h