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 1ca0a8e commit 0f7a592Copy full SHA for 0f7a592
clang/utils/TableGen/RISCVVEmitter.cpp
@@ -177,7 +177,7 @@ static unsigned getIndexedLoadStorePtrIdx(const RVVIntrinsic *RVVI) {
177
if (IRName.starts_with("vloxseg") || IRName.starts_with("vluxseg")) {
178
bool NoPassthru =
179
(RVVI->isMasked() && (RVVI->getPolicyAttrsBits() & RVV_VTA) &&
180
- (RVVI->getPolicyAttrsBits() & RVV_VMA)) |
+ (RVVI->getPolicyAttrsBits() & RVV_VMA)) ||
181
(!RVVI->isMasked() && (RVVI->getPolicyAttrsBits() & RVV_VTA));
182
return RVVI->isMasked() ? NoPassthru ? 1 : 2 : NoPassthru ? 0 : 1;
183
}
0 commit comments