This will allow for easier overriding of the pass.
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
LGTM
llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h | ||
---|---|---|
645 | +1 :D | |
llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp | ||
726 | Nit: I would remove the NDEBUG guards here. In this patch the caller is already doing that and longer term if other users appear, I would expect that they would want to actually check something (or wrap that in their own guards, e.g., assert). |
+1 :D