We definitely have 1-0 bools
authorAnton Korobeynikov <asl@math.spbu.ru>
Thu, 16 Jul 2009 14:28:46 +0000 (14:28 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Thu, 16 Jul 2009 14:28:46 +0000 (14:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76046 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SystemZ/SystemZISelLowering.cpp

index df9164a07a375889afacbc0da33bc79b1ef9eb27..51a3e641d5d59cccf29bfc4fdf6e99ac3388e66f 100644 (file)
@@ -79,6 +79,7 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) :
 
   setStackPointerRegisterToSaveRestore(SystemZ::R15D);
   setSchedulingPreference(SchedulingForLatency);
+  setBooleanContents(ZeroOrOneBooleanContent);
 
   setOperationAction(ISD::RET,              MVT::Other, Custom);