aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-03-30 09:23:34 -0700
committerCraig Topper <craig.topper@sifive.com>2021-03-30 09:23:36 -0700
commit292816d2b613fdf5efbd4287b656bb793ad18e12 (patch)
tree4f8bfa7551c555bcf769baef6ac5cb940a121240 /clang/lib/Frontend/CompilerInvocation.cpp
parentf069000b433c3d08157a57b554a3a17c46cba04d (diff)
downloadllvm-292816d2b613fdf5efbd4287b656bb793ad18e12.zip
llvm-292816d2b613fdf5efbd4287b656bb793ad18e12.tar.gz
llvm-292816d2b613fdf5efbd4287b656bb793ad18e12.tar.bz2
[RISCV] Don't set the SplatOperand flag on intrinsics that take a shift amount.
The shift amount should always be a vector or an XLen scalar. The SplatOperand flag is used to indicate we need to legalize non-XLen scalars including special handling for i64 on RV32. This will prevent us from silently adjusting these operands if the intrinsics are misused. I'll probably adjust the name of the SplatOperand flag slightly in a follow up patch. Reviewed By: khchen, frasercrmck Differential Revision: https://reviews.llvm.org/D99545
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions