Use the right kind of booleans: we were emitting 0/1 booleans, instead of 0/-1
authorDuncan Sands <baldrick@free.fr>
Thu, 5 Jul 2012 09:32:46 +0000 (09:32 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 5 Jul 2012 09:32:46 +0000 (09:32 +0000)
commite7de3b29f79b147a8f06e6edff0c54149d638139
tree4661ea2145e191efe3e1e775ada837f45fbd7839
parent4a002ab9c3eb19d33641cf37945a2ed153ee6d77
Use the right kind of booleans: we were emitting 0/1 booleans, instead of 0/-1
booleans.  Patch by James Benton.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159739 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/sext-setcc-self.ll [new file with mode: 0644]