Skip to content
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

[X86] Failure to produce chained PAVG's #51473

Closed
LebedevRI opened this issue Oct 10, 2021 · 2 comments
Closed

[X86] Failure to produce chained PAVG's #51473

LebedevRI opened this issue Oct 10, 2021 · 2 comments
Labels
backend:X86 bugzilla Issues migrated from bugzilla

Comments

@LebedevRI
Copy link
Member

Bugzilla Link 52131
Version trunk
OS Linux
CC @abadams,@topperc,@RKSimon,@phoebewang,@rotateright

Extended Description

As noted in halide/Halide#6302

https://godbolt.org/z/9nY77r35q

Haven't really looked at what is actually going wrong yet,
just documenting.

@LebedevRI
Copy link
Member Author

For future self-reference: the actual preconditions on that transform should be
https://alive2.llvm.org/ce/z/SjCKvL
i.e. the inputs must be effectively i8, and both source add's must be NUW.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 11, 2021
@RKSimon
Copy link
Collaborator

RKSimon commented Jun 12, 2024

This was fixed by https://reviews.llvm.org/D111571 / 5f4f5da - any additional handling can be added after #92096

@RKSimon RKSimon closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:X86 bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

2 participants