[llvm] [SPIRV] Audit `select` Result in SPIRVInstructionSelector (PR #115193)
Sarah Spall via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 7 14:52:02 PST 2024
================
@@ -1796,7 +1821,7 @@ bool SPIRVInstructionSelector::selectDot4AddPackedExpansion(
for (unsigned i = 0; i < 4; i++) {
// A[i]
Register AElt = MRI->createVirtualRegister(&SPIRV::IDRegClass);
- Result |= BuildMI(BB, I, I.getDebugLoc(), TII.get(ExtractOp))
+ Result &= BuildMI(BB, I, I.getDebugLoc(), TII.get(ExtractOp))
----------------
spall wrote:
ditto
https://github.com/llvm/llvm-project/pull/115193
More information about the llvm-commits
mailing list