-
Notifications
You must be signed in to change notification settings - Fork 13.4k
"Instruction does not dominate all uses" after Complex Deinterleaving Pass #65044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like it's because and extra builder is created for insertion here:
While the method that replaced operands uses the main builder to insert the main function. Don't know if the fix is as simple as changing the insertion point of the main builder (or perhaps recalculating it based on the operands). |
@llvm/issue-subscribers-backend-aarch64 |
Thanks, I am on it |
@igogo-x86 in case you've missed it, I've submitted a potential fix for review here: https://reviews.llvm.org/D159123 |
I have a fix here - https://reviews.llvm.org/D159209 |
/branch llvm/llvm-project-release-prs/issue65044 |
… in ComplexDeinterleavingPass When replacing ComplexDeinterleavingPass::ReductionOperation, we can do it either from the Real or Imaginary part. The correct way is to take whichever is later in the BasicBlock, but before the patch, we just always took the Real part. Fixes llvm/llvm-project#65044 Differential Revision: https://reviews.llvm.org/D159209 (cherry picked from commit e2cb07c322e85604dc48f9caec52b3570db0e1d8)
/pull-request llvm/llvm-project-release-prs#674 |
… in ComplexDeinterleavingPass When replacing ComplexDeinterleavingPass::ReductionOperation, we can do it either from the Real or Imaginary part. The correct way is to take whichever is later in the BasicBlock, but before the patch, we just always took the Real part. Fixes llvm/llvm-project#65044 Differential Revision: https://reviews.llvm.org/D159209 (cherry picked from commit e2cb07c322e85604dc48f9caec52b3570db0e1d8)
For the following IR:
Complex deinterleaving produced broken code:
Godbolt link https://godbolt.org/z/7zbbePPd6
Bisect pointed to c15557d by @igogo-x86
The text was updated successfully, but these errors were encountered: