diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-07-19 22:52:05 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-07-19 22:58:42 -0700 |
commit | 4f1270a61e15fc43b8467885254f7246b4b75b71 (patch) | |
tree | 98e4da36192ea657dcc864b6ebb90b8aefbc0e5b /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 53942cd4dcf6950736083a75bc4f97b7e7dd2ebf (diff) | |
download | llvm-4f1270a61e15fc43b8467885254f7246b4b75b71.zip llvm-4f1270a61e15fc43b8467885254f7246b4b75b71.tar.gz llvm-4f1270a61e15fc43b8467885254f7246b4b75b71.tar.bz2 |
[RISCV] Add test cases to show an issue with our fcvt.wu isel patterns on RV64.
The pattern we match is (sext_inreg (assertzexti32 (fp_to_uint)), i32). If
the assertzexti32 has an additional user we'll end up emitting
an fcvt.wu and an fcvt.lu.
This can happen if the original fp_to_uint before type legalization
has one user that causes a sext_inreg to be emitted and one that
doesn't.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions