diff options
| author | Craig Topper <craig.topper@intel.com> | 2019-05-02 21:57:18 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2019-05-02 21:57:18 +0000 |
| commit | 47d8865a385a11075e9a984c9f283c98547b1928 (patch) | |
| tree | 8f0f24fd0570a60b4aa7fc5cca9f2b11145203e1 /llvm/lib/Target | |
| parent | ec2801a176997f748f638ce200a7bd1467e1e3f8 (diff) | |
| download | bcm5719-llvm-47d8865a385a11075e9a984c9f283c98547b1928.tar.gz bcm5719-llvm-47d8865a385a11075e9a984c9f283c98547b1928.zip | |
[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
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h b/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h index a56d64ce296..6bd6c6cac7d 100644 --- a/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h +++ b/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h @@ -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; } |

