mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
HexagonVectorCombine.cpp - don't negate a bool value. NFCI.
Silences MSVC warning.
This commit is contained in:
parent
be8fae673d
commit
d45f56d7bd
@ -837,7 +837,7 @@ auto AlignVectors::realignGroup(const MoveGroup &Move) const -> bool {
|
||||
|
||||
// Create an extra "undef" sector at the beginning and at the end.
|
||||
// They will be used as the left/right filler in the vlalign step.
|
||||
for (int i = -DoAlign; i != NumSectors + DoAlign; ++i) {
|
||||
for (int i = (DoAlign ? -1 : 0); i != NumSectors + DoAlign; ++i) {
|
||||
// For stores, the size of each section is an aligned vector length.
|
||||
// Adjust the store offsets relative to the section start offset.
|
||||
ByteSpan VSection = VSpan.section(i * ScLen, ScLen).shift(-i * ScLen);
|
||||
|
Loading…
Reference in New Issue
Block a user