This patch replaces some foreach with Arrayref, and abstract some same literal array with a variable.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
297 | Er, this looks like an undesirable change. Could we add a typed overload for setOperationAction instead? |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
297 | Do you mean create a new function with ArrayRef<ISD::NodeType> as argument? I think this may cause ambiguous calling when we use setOperationAction with a single ISD::NodeType. |
Er, this looks like an undesirable change. Could we add a typed overload for setOperationAction instead?