]> granicus.if.org Git - llvm/commitdiff
[X86] Remove string literal from an if. NFC
authorCraig Topper <craig.topper@intel.com>
Thu, 2 May 2019 21:57:18 +0000 (21:57 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 2 May 2019 21:57:18 +0000 (21:57 +0000)
This if used to be an assert that got refactored into an if, but left the string literal behind.

Fixes PR41718

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359833 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/MCTargetDesc/X86BaseInfo.h

index a56d64ce296cc3fbdcf8fe659449232e7cce1854..6bd6c6cac7df1b4f7e20cfbb0e13f01b0c32366a 100644 (file)
@@ -744,8 +744,7 @@ namespace X86II {
       // has it as the last op.
       if (NumOps == 9 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 &&
           (Desc.getOperandConstraint(3, MCOI::TIED_TO) == 1 ||
-           Desc.getOperandConstraint(8, MCOI::TIED_TO) == 1) &&
-          "Instruction with 2 defs isn't gather?")
+           Desc.getOperandConstraint(8, MCOI::TIED_TO) == 1))
         return 2;
       return 0;
     }