Skip to content

Commit 47d8865

Browse files
committed
[X86] Remove string literal from an if. NFC
This if used to be an assert that got refactored into an if, but left the string literal behind. Fixes PR41718 llvm-svn: 359833
1 parent ec2801a commit 47d8865

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,8 +744,7 @@ namespace X86II {
744744
// has it as the last op.
745745
if (NumOps == 9 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 &&
746746
(Desc.getOperandConstraint(3, MCOI::TIED_TO) == 1 ||
747-
Desc.getOperandConstraint(8, MCOI::TIED_TO) == 1) &&
748-
"Instruction with 2 defs isn't gather?")
747+
Desc.getOperandConstraint(8, MCOI::TIED_TO) == 1))
749748
return 2;
750749
return 0;
751750
}

0 commit comments

Comments
 (0)