Skip to content

Commit 3fd0f67

Browse files
committed
remove unused fields in ShuffleMaskAttrs
1 parent bd5152a commit 3fd0f67

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

llvm/include/llvm/IR/Instructions.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,9 +1889,6 @@ DEFINE_TRANSPARENT_OPERAND_ACCESSORS(InsertElementInst, Value)
18891889
struct ShuffleMaskAttrs {
18901890
bool SingleSource : 1;
18911891
bool Identity : 1;
1892-
// bool IdentityWithPadding : 1;
1893-
// bool IdentityWithExtract : 1;
1894-
// bool Concat : 1;
18951892
bool Reverse : 1;
18961893
bool ZeroEltSplat : 1;
18971894
bool Select : 1;
@@ -1924,7 +1921,7 @@ class ShuffleVectorInst : public Instruction {
19241921

19251922
// This function is const so that it's callable from other const functions.
19261923
void computeShuffleAttrs() const {
1927-
ShuffleAttrs = {}; // reset
1924+
ShuffleAttrs = {}; // reset
19281925
ShuffleAttrs.SingleSource =
19291926
!changesLength() && isSingleSourceMask(ShuffleMask, ShuffleMask.size());
19301927
ShuffleAttrs.Identity =

0 commit comments

Comments
 (0)