We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a6a95 commit 9dc207fCopy full SHA for 9dc207f
llvm/lib/Target/Xtensa/AsmParser/XtensaAsmParser.cpp
@@ -193,7 +193,8 @@ struct XtensaOperand : public MCParsedAsmOperand {
193
194
bool isImm1_16() const { return isImm(1, 16); }
195
196
- bool isImm1n_15() const { return (isImm(1, 15) || isImm(-1, -1)); }
+ // Check that value is either equals (-1) or from [1,15] range.
197
+ bool isImm1n_15() const { return isImm(1, 15) || isImm(-1, -1); }
198
199
bool isImm32n_95() const { return isImm(-32, 95); }
200
0 commit comments