Skip to content

Commit a3c283a

Browse files
author
git apple-llvm automerger
committed
Merge commit '778c2a59533c' from llvm.org/main into next
2 parents b37e660 + 778c2a5 commit a3c283a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/Instructions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3488,7 +3488,7 @@ CmpInst::CmpInst(Type *ty, OtherOps op, Predicate predicate, Value *LHS,
34883488
: Instruction(ty, op, AllocMarker, InsertBefore) {
34893489
Op<0>() = LHS;
34903490
Op<1>() = RHS;
3491-
setPredicate((Predicate)predicate);
3491+
setPredicate(predicate);
34923492
setName(Name);
34933493
if (FlagsSource)
34943494
copyIRFlags(FlagsSource);

0 commit comments

Comments
 (0)