[llvm] [AMDGPU] Remove SIWholeQuadMode pass early exit (PR #98450)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 02:25:12 PDT 2024
================
@@ -1493,9 +1496,10 @@ void SIWholeQuadMode::lowerCopyInstrs() {
*MRI, MI->getOperand(0)));
MI->setDesc(TII->get(CopyOp));
}
+ return !LowerToCopyInstrs.empty();
----------------
jayfoad wrote:
Just from visual inspection, should this be `!LowerToMovInstrs.empty() || !LowerToCopyInstrs.empty()`?
https://github.com/llvm/llvm-project/pull/98450
More information about the llvm-commits
mailing list