Add helper function for getting true/false constants in a uniform
authorDuncan Sands <baldrick@free.fr>
Tue, 26 Jul 2011 15:03:53 +0000 (15:03 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 26 Jul 2011 15:03:53 +0000 (15:03 +0000)
commitf56138d4aeb6d271cb353d70a794fa1525d892c3
tree2821f76e7c15afb116310cb57e7aadaf5b4b77fe
parentb3aa4715c18e43d9ba0fdad7b3cae5c8f0a52143
Add helper function for getting true/false constants in a uniform
way for i1 and vector of i1 types.  Use these to make some code
more self-documenting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136079 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp