Skip to content

Commit

Permalink
[lanai] Set boolean contentss to ZeroOrOneBooleanContent.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266701 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jpienaar committed Apr 19, 2016
1 parent c3a95b9 commit 1fe6695
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Target/Lanai/LanaiISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1fe6695

Please sign in to comment.