[llvm-branch-commits] [llvm] release/18.x: [llvm][LoongArch] Improve loongarch_lasx_xvpermi_q instrinsic (#82984) (PR #83540)

WÁNG Xuěruì via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 7 22:01:44 PST 2024


xen0n wrote:

For the record, based on the principle of "explicit is better than implicit" that generally holds, I'd favor an approach where such compile-time-verifiable out-of-range operands are given compile-time errors, or we should just pass through the value unmodified. Otherwise the intrinsic would have to carry the workaround effectively forever, and we could find ourselves trapped if later micro-architectures actually start to make use of the currently cleared bits.

https://github.com/llvm/llvm-project/pull/83540


More information about the llvm-branch-commits mailing list