diff options
| author | Kaitlin Peng <kaitlinpeng@microsoft.com> | 2025-11-04 13:20:46 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-04 13:20:46 -0800 |
| commit | 6e2dcdb17c0ef4eff239a08772b194e2009193ec (patch) | |
| tree | 4b404b8a95e53fddc473107d8a7737c1f4ebfe16 /llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp | |
| parent | 9703bda95b088bb6a455ef9faffdb41c537aff2f (diff) | |
| download | llvm-6e2dcdb17c0ef4eff239a08772b194e2009193ec.zip llvm-6e2dcdb17c0ef4eff239a08772b194e2009193ec.tar.gz llvm-6e2dcdb17c0ef4eff239a08772b194e2009193ec.tar.bz2 | |
Fix implicit truncation of `select` non-bool vector conditions (#166279)
Fixes #164018.
The problem is that we're unable to do an implicit conversion sequence
on a template deduced argument, so the current vector templates can't
reconcile `vector<int, 4>` with `vector<bool, Sz>`. This PR separates
the vector templates into size-specific ones, getting rid of the `Sz`
deduction and allowing for the implicit conversion to be done.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp')
0 files changed, 0 insertions, 0 deletions
