Skip to content

Commit aa61e43

Browse files
committed
[InstCombine] Fix a compilation bug
With gcc 6.3.0, I hit the following compilation bug. ../lib/Transforms/InstCombine/InstCombineVectorOps.cpp:937:2: error: extra ‘;’ [-Werror=pedantic] }; ^ cc1plus: all warnings being treated as errors The error is introduced by Commit ae7f088 ("[InstCombine] Aggregate reconstruction simplification (PR47060)")
1 parent 000ad1a commit aa61e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ Instruction *InstCombinerImpl::foldAggregateConstructionIntoAggregateReuse(
934934

935935
++NumAggregateReconstructionsSimplified;
936936
return PHI;
937-
};
937+
}
938938

939939
/// Try to find redundant insertvalue instructions, like the following ones:
940940
/// %0 = insertvalue { i8, i32 } undef, i8 %x, 0

0 commit comments

Comments
 (0)