aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-01-05 10:00:14 -0800
committerCraig Topper <craig.topper@sifive.com>2021-01-05 10:20:21 -0800
commitc707716c049cd46bd89da102cf9444462487b490 (patch)
treed73cba2d1e666dea9a5bee59781c564c13bb624c /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent761aca1e2e393da62ddaf7c42b61196be2466571 (diff)
downloadllvm-c707716c049cd46bd89da102cf9444462487b490.zip
llvm-c707716c049cd46bd89da102cf9444462487b490.tar.gz
llvm-c707716c049cd46bd89da102cf9444462487b490.tar.bz2
[RISCV] Match vmslt(u).vx intrinsics with a small immediate to vmsle(u).vx.
There are vmsle(u).vx and vmsle(u).vi instructions, but there is only vmslt(u).vx and no vmslt(u).vi. vmslt(u).vi can be emulated for some immediates by decrementing the immediate and using vmsle(u).vi. To avoid the user needing to know about this, this patch does this conversion. The assembler does the same thing for vmslt(u).vi and vmsge(u).vi pseudoinstructions. There is no vmsge(u).vx intrinsic or instruction so this patch is limited to vmslt(u). Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D94070
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions