diff options
| author | Craig Topper <craig.topper@sifive.com> | 2025-03-02 16:16:19 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2025-03-02 22:33:25 -0800 |
| commit | 7bd2be42666dfd5ceac5fb5b2fa793b6534206fc (patch) | |
| tree | 902dcb722b743d0656844781327dcfd152dd53e1 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
| parent | 03015805804c8d334382a2c7fcdb6d3d368cd94f (diff) | |
[SelectionDAG] Use Register and MCRegister. NFC
Add operators to Register to supporting adding an offset to get
another Register.
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index d12debe41c63..fb0b52939947 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -2304,7 +2304,7 @@ bool FastISel::handlePHINodesInSuccessorBlocks(const BasicBlock *LLVMBB) { FuncInfo.PHINodesToUpdate.resize(FuncInfo.OrigNumPHINodesToUpdate); return false; } - FuncInfo.PHINodesToUpdate.push_back(std::make_pair(&*MBBI++, Reg)); + FuncInfo.PHINodesToUpdate.emplace_back(&*MBBI++, Reg); MIMD = {}; } } |
