The semantics of cast X to bool are a comparison against zero, not a truncation!
authorChris Lattner <sabre@nondot.org>
Mon, 9 May 2005 22:17:13 +0000 (22:17 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 May 2005 22:17:13 +0000 (22:17 +0000)
commitef311aa7cf26ae0cbb6e784d767801b9058dd24b
tree1cae6767311606537b1cc4aad436f30aa87f676c
parentedcee6f5fd3dbd6e3ed46b9cc129fc9ce19737f6
The semantics of cast X to bool are a comparison against zero, not a truncation!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21833 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp