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

[NFC][IR] Type: add getWithNewType() method #106

Merged

Conversation

alexcrichton
Copy link
Member

Sometimes you want to get a type with same vector element count
as the current type, but different element type,
but there's no QOL wrapper to do that. Add one.

Sometimes you want to get a type with same vector element count
as the current type, but different element type,
but there's no QOL wrapper to do that. Add one.
@alexcrichton
Copy link
Member Author

This fixes rust-lang/rust#84654 (comment) which is where #101 doesn't build clang correctly. I tested building LLVM locally but forgot to test building clang! I've tested now and it should build correctly.

@nikic nikic merged commit b61c24f into rust-lang:rustc/12.0-2021-04-15 Apr 30, 2021
@nikic
Copy link

nikic commented Apr 30, 2021

Didn't even know we built clang from our llvm-project. Is that for cross-language LTO tests?

@alexcrichton
Copy link
Member Author

Perhaps? I'm unsure

@alexcrichton alexcrichton deleted the another-backport branch April 30, 2021 14:27
vext01 pushed a commit to vext01/llvm-project that referenced this pull request Dec 11, 2023
Don't conflate a call with an unknown target with an indirect call.
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.

3 participants