While working on this code to support outputs from callbr along indirect
branches, I kept making these changes again and again. Precommit these.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | ||
---|---|---|
10876–10878 | Can drop the & |
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | ||
---|---|---|
10876–10878 | Aren't EVTs larger than the word size? Isn't it cheaper to take by ref to avoid a copy? |
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | ||
---|---|---|
10876–10878 | It's an int and a pointer. It's going to get copied to pass by value to getNumRegisters anyway. |
Can drop the &