diff options
author | Jessica Paquette <jpaquette@apple.com> | 2018-03-22 21:07:09 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2018-03-22 21:07:09 +0000 |
commit | df82274f3c6f44b589fc206b67f807c0a0c13ea9 (patch) | |
tree | f687a522a3cbf17c462c89f8decf20212540abff /llvm/unittests/IR/ValueTest.cpp | |
parent | 022a82cb15cafa4fb80b96865e240373a0fbae65 (diff) | |
download | bcm5719-llvm-df82274f3c6f44b589fc206b67f807c0a0c13ea9.tar.gz bcm5719-llvm-df82274f3c6f44b589fc206b67f807c0a0c13ea9.zip |
[MachineOutliner][NFC] Refactoring + comments in runOnModule
Split up some of the if/else branches in runOnModule. Elaborate on some
comments. Replace a call to getOrCreateMachineFunction with getMachineFunction.
This makes it clearer what's happening in runOnModule, and ensures that the
outliner doesn't create any MachineFunctions which will never be used by the
outliner (or anything else, really).
llvm-svn: 328240
Diffstat (limited to 'llvm/unittests/IR/ValueTest.cpp')
0 files changed, 0 insertions, 0 deletions