[lanai] Set boolean contentss to ZeroOrOneBooleanContent.

llvm-svn: 266701
This commit is contained in:
Jacques Pienaar 2016-04-19 00:26:42 +00:00
parent 7212c5d82c
commit 250c4bec9e
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ LanaiTargetLowering::LanaiTargetLowering(const TargetMachine &TM,
MaxStoresPerMemcpyOptSize = 8;
MaxStoresPerMemmove = 16; // For @llvm.memmove -> sequence of stores
MaxStoresPerMemmoveOptSize = 8;
// Booleans always contain 0 or 1.
setBooleanContents(ZeroOrOneBooleanContent);
}
SDValue LanaiTargetLowering::LowerOperation(SDValue Op,