OSDN Git Service

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)
commitfe0bfe4fa43b9a032cc54737ab56b979006b1b26
tree04f1d575fb83bc498051f29998cdc8cdfb73c25f
parent37b7387da90ffd42d28ad0f08fca00b684294b2c
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77583 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGNodes.h