aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-02-04 15:59:22 -0800
committerCraig Topper <craig.topper@sifive.com>2021-02-04 16:46:23 -0800
commit16fb1c7aaeba9a7f22e4dcc8761b1cbf1fe524c1 (patch)
treee13efb01340fc304b7d320cd6da0d484b8cb7fe2 /clang/lib/Frontend/CompilerInvocation.cpp
parent8d7d2deb379066d17a7d49ab13af77d097fb2b78 (diff)
downloadllvm-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