When processing canonicalization with an undef in v2f16, 1. If the other element is constant, create a splat vector 2. Otherwise, convert undef to 0.0. Update comment to make this behavior clear. Do not imply that a v2f16 with two undef's should be unconverted. Do not state that conversion of undef to qNan is normal. `ConstantFoldScalarCall1` in `llvm/lib/Analysis/ConstantFolding.cpp` already canonicalizes an undef to 0.0. Previous code only converted element 0 if element 1 was a constant. Signed-off-by: John Lu <John.Lu@amd.com> |
||
|---|---|---|
| .. | ||
| benchmarks | ||
| bindings | ||
| cmake | ||
| docs | ||
| examples | ||
| include | ||
| lib | ||
| projects | ||
| resources | ||
| runtimes | ||
| test | ||
| tools | ||
| unittests | ||
| utils | ||
| .clang-format | ||
| .clang-tidy | ||
| .gitattributes | ||
| .gitignore | ||
| CMakeLists.txt | ||
| CMakePresets.json | ||
| configure | ||
| CREDITS.TXT | ||
| LICENSE.TXT | ||
| Maintainers.md | ||
| README.txt | ||
| RELEASE_TESTERS.TXT | ||
The LLVM Compiler Infrastructure ================================ This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments. LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. Please see the documentation provided in docs/ for further assistance with LLVM, and in particular docs/GettingStarted.md for getting started with LLVM and docs/README.txt for an overview of LLVM's documentation setup. If you are writing a package for LLVM, see docs/Packaging.rst for our suggestions.