]> granicus.if.org Git - llvm/commit
[risc-v] Apply llvm-prefer-register-over-unsigned from clang-tidy to LLVM
authorDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 12 Aug 2019 22:41:02 +0000 (22:41 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 12 Aug 2019 22:41:02 +0000 (22:41 +0000)
commitcf1063f8cbfc59b7f2ee615b565acd0d15781474
tree2e45846d78650f423806c951b8be05dc3b0f1823
parenta065117c6a703e80f2697745ea2b7ce282be067d
[risc-v] Apply llvm-prefer-register-over-unsigned from clang-tidy to LLVM

Summary:
This clang-tidy check is looking for unsigned integer variables whose initializer
starts with an implicit cast from llvm::Register and changes the type of the
variable to llvm::Register (dropping the llvm:: where possible).

Depends on D65919

Reviewers: lenary

Subscribers: jholewinski, MatzeB, qcolombet, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, wdng, nhaehnle, sbc100, jgravelle-google, kristof.beyls, hiraditya, aheejin, kbarton, fedor.sergeev, javed.absar, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, tpr, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, Jim, s.egerton, llvm-commits

Tags: #llvm

Differential Revision for full review was: https://reviews.llvm.org/D65962

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368629 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
lib/Target/RISCV/RISCVFrameLowering.cpp
lib/Target/RISCV/RISCVISelLowering.cpp
lib/Target/RISCV/RISCVInstrInfo.cpp
lib/Target/RISCV/RISCVMergeBaseOffset.cpp
lib/Target/RISCV/RISCVRegisterInfo.cpp