Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Nothing against it in principle, but might it be better to have it take an ArrayRef instead? Then people can use this in other ways, e.g., an array or dynamically constructing a SmallVector. Also I think it'd be good if other targets were changed to use this.
llvm/lib/Target/XCore/XCoreISelLowering.cpp | ||
---|---|---|
1316 | Don't make unrelated formatting changes. Use the clang-format-diff.py script https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting |
llvm/include/llvm/CodeGen/TargetLowering.h | ||
---|---|---|
2346 | Could also use std::initializer_list |
llvm/include/llvm/CodeGen/TargetLowering.h | ||
---|---|---|
2346 | That's what it started as. @frasercrmck suggested ArrayRef. |
Could also use std::initializer_list