diff options
author | Matthias Braun <matze@braunis.de> | 2017-09-09 00:52:46 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-09-09 00:52:46 +0000 |
commit | 864cf585ffcbe7ac02d1ecd93bdbe1b01e1dbd18 (patch) | |
tree | 65949cbd2274bb25118dc86f3dd22679107695a2 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | a09d18deb00bebf2376ff45a8e4769376ba7a135 (diff) | |
download | bcm5719-llvm-864cf585ffcbe7ac02d1ecd93bdbe1b01e1dbd18.tar.gz bcm5719-llvm-864cf585ffcbe7ac02d1ecd93bdbe1b01e1dbd18.zip |
RegAllocFast: Cleanup; NFC
- Use range based for
- Variable names should start with upper case
- Add `const`
- Change class name to match filename
- Fix doxygen comments
- Use MCPhysReg instead of unsigned
- Use references instead of pointers where things cannot be nullptr
- Misc coding style improvements
llvm-svn: 312846
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index b7fd45a3f6a..75f62ba4719 100644 --- a/llvm/lib/CodeGen/CodeGen.cpp +++ b/llvm/lib/CodeGen/CodeGen.cpp @@ -78,7 +78,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) { initializePreISelIntrinsicLoweringLegacyPassPass(Registry); initializeProcessImplicitDefsPass(Registry); initializeRABasicPass(Registry); - initializeRAFastPass(Registry); + initializeRegAllocFastPass(Registry); initializeRAGreedyPass(Registry); initializeRegisterCoalescerPass(Registry); initializeRenameIndependentSubregsPass(Registry); |