aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-reduce/llvm-reduce.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-01-17 18:04:55 -0800
committerCraig Topper <craig.topper@sifive.com>2023-01-17 18:28:07 -0800
commita971ce70aa0431aacdbdc39a0913d9c83cadfc3e (patch)
tree235a26c36098a1ddabaaa15b6fecda8369d7ff79 /llvm/tools/llvm-reduce/llvm-reduce.cpp
parentf900742746734953e8823319d5c8c40d857c10ea (diff)
downloadllvm-a971ce70aa0431aacdbdc39a0913d9c83cadfc3e.zip
llvm-a971ce70aa0431aacdbdc39a0913d9c83cadfc3e.tar.gz
llvm-a971ce70aa0431aacdbdc39a0913d9c83cadfc3e.tar.bz2
[RISCV] Eliminate the need to pass both RISCVSubtarget and MCSubtargetInfo to isCompressibleInst.
RISCVSubtarget should be a superclass of MCSubtargetInfo so should have all the same information. Now we pass RISCVSubtarget by reference and name it STI. Confusingly, we seem to have been using an MCSubtargetInfo from the TargetMachine rather than the one associated with the function we are operating. I'm going to assume that was a mistake and not intentional. Reviewed By: kito-cheng Differential Revision: https://reviews.llvm.org/D141966
Diffstat (limited to 'llvm/tools/llvm-reduce/llvm-reduce.cpp')
0 files changed, 0 insertions, 0 deletions