diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-08-10 09:10:52 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-08-10 09:30:36 -0700 |
commit | 2df9328fe3a0575fa415964a3c3544b0912b168e (patch) | |
tree | 514a2ec83d4bda0829745790417aff89848433e5 /clang/unittests/libclang/LibclangTest.cpp | |
parent | d32e68ae539df62935ebb74cfff3d8490d1b1e35 (diff) | |
download | llvm-2df9328fe3a0575fa415964a3c3544b0912b168e.zip llvm-2df9328fe3a0575fa415964a3c3544b0912b168e.tar.gz llvm-2df9328fe3a0575fa415964a3c3544b0912b168e.tar.bz2 |
[RISCV] Stop performFP_TO_INTCombine from folding with ISD::FRINT.
FRINT was added to matchRoundingOp after this function was written.
So FRINT was not tested originally.
For vectors, folding this causes us to create a CSR swap that tries
to write 7 to FRM. This is an illegal value and will cause the CSR
write to fail.
While this might be a legal fold we could do, I'm disabling it for
now so we can backport to LLVM 17 with the least risk.
Differential Revision: https://reviews.llvm.org/D157583
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions