diff options
author | SpencerAbson <Spencer.Abson@arm.com> | 2024-12-19 10:45:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-19 10:45:07 +0000 |
commit | 30f386cb4d43d0bd8f57c49f68f71defd7dcf968 (patch) | |
tree | 2c54472a109a640ed45a62f4e384da29efeedf29 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | ecdc5289afec1af98640b6375a52aaf448fe7388 (diff) | |
download | llvm-30f386cb4d43d0bd8f57c49f68f71defd7dcf968.zip llvm-30f386cb4d43d0bd8f57c49f68f71defd7dcf968.tar.gz llvm-30f386cb4d43d0bd8f57c49f68f71defd7dcf968.tar.bz2 |
[AArch64] Fixup destructive floating-point precision conversions (#118788)
This patch changes the zeroing forms of `FCVTXNT`, `FCVTNT`, and
`BFCVTNT` such that their destination operand is also listed as a dag
input. These narrowing down-conversions leave the even elements of the
destination vector unchanged, regardless of the predicate type.
This patch also makes the merging form of `BFCVTNT` non-movprfx'able.
- `FCVTXNT` - [Arm
Developer](https://developer.arm.com/documentation/ddi0602/2024-09/SVE-Instructions/FCVTXNT--Floating-point-down-convert--rounding-to-odd--top--predicated--?lang=en)
- `FCVTNT` - [Arm
Developer](https://developer.arm.com/documentation/ddi0602/2024-09/SVE-Instructions/FCVTNT--predicated---Floating-point-down-convert-and-narrow--top--predicated--?lang=en)
- `BFCVTNT` - [Arm
Developer](https://developer.arm.com/documentation/ddi0602/2024-09/SVE-Instructions/BFCVTNT--Floating-point-down-convert-and-narrow-to-BFloat16--top--predicated--?lang=en)
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions