diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-02-04 15:59:22 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-02-04 16:46:23 -0800 |
commit | 16fb1c7aaeba9a7f22e4dcc8761b1cbf1fe524c1 (patch) | |
tree | e13efb01340fc304b7d320cd6da0d484b8cb7fe2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8d7d2deb379066d17a7d49ab13af77d097fb2b78 (diff) | |
download | llvm-16fb1c7aaeba9a7f22e4dcc8761b1cbf1fe524c1.zip llvm-16fb1c7aaeba9a7f22e4dcc8761b1cbf1fe524c1.tar.gz llvm-16fb1c7aaeba9a7f22e4dcc8761b1cbf1fe524c1.tar.bz2 |
[RISCV] Add i8/i16 test cases to div.ll and i8/i16/i64 to rem.ll. NFC
This improves our coverage of these operations and shows that we
use really large constants for division by constant on i8/i16
especially on RV64. The issue is that BuildSDIV/BuildUDIV are
limited to legal types so we have to promote to i64 before it
kicks in. At that point we've lost the range information for the
original type.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions