[llvm] [GlobalIsel][NFC] Fix LLT Propagation (PR #119587)

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 11:32:41 PST 2024


aemerson wrote:

> I'm wondering if we should add a new API so that it's convenient to create a new LLT based on the existing vector LLT. Instead of having to manually call `getElementType()`. Maybe `LLT::fixed_vector(unsigned EC, LLT OrigLLT)` that pulls the type from the original one?

Ah, we already have that overload for the scalar variant. We can deal with this in another change.

https://github.com/llvm/llvm-project/pull/119587


More information about the llvm-commits mailing list