Commit Graph

52 Commits

Author SHA1 Message Date
Michael Gottesman
54e2d97bca [temp-rvalue-opt] Update temp-rvalue-opt for OSSA.
The pass is already setup for OSSA, so I just enabled it for ownership and
converted its tests over. Eventually, I am going to be able to add support for
eliminating alloc_stack that have a loadabel value and whose lifetime are ended
via a load [take]. But that will be in a forthcoming commit.
2020-02-25 23:29:37 -08:00
Michael Gottesman
5e9d720a28 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.
2020-02-25 21:12:16 -08:00