[llvm] [ConstantFolding] Fix bitcasting vectors with non-integer ratios (PR #179640)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 09:01:54 PDT 2026


================

----------------
nikic wrote:

Interesting. What I actually had in mind was creating an APInt with the full size of the vector, which would avoid the need for interleaved loops at a cost of a larger allocation. Though your implementation already looks fairly simple as-is, so I guess this is fine.

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


More information about the llvm-commits mailing list