Skip to content

Conversation

@fhahn
Copy link

@fhahn fhahn commented Nov 10, 2025

…ns. (llvm#166945)

Currently sinking assumes in instcombine drops assumes if they would prevent sinking. Removing dereferenceable assumptions earlier on can inhibit vectorization of early-exit loops in practice.

Special-case deferenceable assumptions so that they block sinking. This can be combined with a separate change to drop dereferencebale assumptions after vectorization: https://clang.godbolt.org/z/jGqcx3sbs

PR: llvm#166945

(cherry picked from commit 700b77b)

…ns. (llvm#166945)

Currently sinking assumes in instcombine drops assumes if they would
prevent sinking. Removing dereferenceable assumptions earlier on can
inhibit vectorization of early-exit loops in practice.

Special-case deferenceable assumptions so that they block sinking. This
can be combined with a separate change to drop dereferencebale
assumptions after vectorization: https://clang.godbolt.org/z/jGqcx3sbs

PR: llvm#166945

(cherry picked from commit 700b77b)
@fhahn
Copy link
Author

fhahn commented Nov 10, 2025

@swift-ci please test

@fhahn
Copy link
Author

fhahn commented Nov 10, 2025

@swift-ci please test llvm

@fhahn
Copy link
Author

fhahn commented Nov 10, 2025

@swift-ci please test

2 similar comments
@fhahn
Copy link
Author

fhahn commented Nov 11, 2025

@swift-ci please test

@fhahn
Copy link
Author

fhahn commented Nov 11, 2025

@swift-ci please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant