Skip to content

Commit 5e9d720

Browse files
committed
Move TempRValueOpt from CopyForwarding.cpp -> TempRValueElimination.cpp.
The pass is standalone from CopyForwarding and is big enough to stand on its own. This changes is NFC beyond clang-format + xcode rename.
1 parent 281da6b commit 5e9d720

File tree

3 files changed

+440
-392
lines changed

3 files changed

+440
-392
lines changed

lib/SILOptimizer/Transforms/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ silopt_register_sources(
3434
Sink.cpp
3535
SpeculativeDevirtualizer.cpp
3636
StackPromotion.cpp
37+
TempRValueElimination.cpp
3738
UnsafeGuaranteedPeephole.cpp
3839
)

0 commit comments

Comments
 (0)