Add an explicit bool operator to SDValue to make it easier to test for
authorChandler Carruth <chandlerc@gmail.com>
Fri, 4 Jul 2014 08:11:38 +0000 (08:11 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 4 Jul 2014 08:11:38 +0000 (08:11 +0000)
commitc5bc1525343121689ee319412845e57314325795
tree7a5e25703ca6249f06be75a4c3294f3138ac39b9
parent1bd30dce7b95638da7d9dd65d35e24b350105415
Add an explicit bool operator to SDValue to make it easier to test for
a non-null node. In particular, this makes it easier to use condition
variables with SDValues, etc.

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