aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2020-12-11 10:34:12 -0800
committerCraig Topper <craig.topper@sifive.com>2020-12-11 10:35:37 -0800
commitb577d2df7bd650668a3538429ecb3d08e037fe55 (patch)
treed9a53f91000436514e7c9c7387bd74975203ab45 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent709112bce4424a5436f0bb699c62b3fbc837fbb6 (diff)
downloadllvm-b577d2df7bd650668a3538429ecb3d08e037fe55.zip
llvm-b577d2df7bd650668a3538429ecb3d08e037fe55.tar.gz
llvm-b577d2df7bd650668a3538429ecb3d08e037fe55.tar.bz2
[RISCV] Add a pass to remove duplicate VSETVLI instructions in a basic block.
Add simple pass for removing redundant vsetvli instructions within a basic block. This handles the case where the AVL register and VTYPE immediate are the same and no other instructions that change VTYPE or VL are between them. There are going to be more opportunities for improvement in this space as we development more complex tests. Differential Revision: https://reviews.llvm.org/D92679
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions