These run together in the pipeline and are the only users of
TII.hasAllWUsers. Merging them will allow us to move hasAllWUsers
back from TII.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. I'd note that clang-format prefers different formatting for some of the functions here - it's probably worth reformatting while you're doing this merge into a new pass.
llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp | ||
---|---|---|
9–18 | couple => couple of |
Comment Actions
There were other instances too, but I ran it after applying D147174 so may have been from changed lines there. As for the switch - it's short enough I personally wouldn't bother opting out of clang-format's preferences, but I don't have a problem with it as is.
Comment Actions
Ok I fixed D147174 when I committed it.
For the switch I like it on one line because it makes it easy to see the correspondence between W and non-W across the line. And having the components lined up for each line.
couple => couple of