[all-commits] [llvm/llvm-project] 292816: [RISCV] Don't set the SplatOperand flag on intrins...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Mar 30 09:30:36 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 292816d2b613fdf5efbd4287b656bb793ad18e12
https://github.com/llvm/llvm-project/commit/292816d2b613fdf5efbd4287b656bb793ad18e12
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-03-30 (Tue, 30 Mar 2021)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsRISCV.td
Log Message:
-----------
[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
More information about the All-commits
mailing list