[llvm] r266701 - [lanai] Set boolean contentss to ZeroOrOneBooleanContent.
Jacques Pienaar via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 18 17:26:42 PDT 2016
Author: jpienaar
Date: Mon Apr 18 19:26:42 2016
New Revision: 266701
URL: http://llvm.org/viewvc/llvm-project?rev=266701&view=rev
Log:
[lanai] Set boolean contentss to ZeroOrOneBooleanContent.
Modified:
llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp
Modified: llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp?rev=266701&r1=266700&r2=266701&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp Mon Apr 18 19:26:42 2016
@@ -148,6 +148,9 @@ LanaiTargetLowering::LanaiTargetLowering
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,
More information about the llvm-commits
mailing list