MachineFunction: Cleanup/simplify MachineFunctionProperties::print()
authorMatthias Braun <matze@braunis.de>
Fri, 19 Aug 2016 22:31:45 +0000 (22:31 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 19 Aug 2016 22:31:45 +0000 (22:31 +0000)
commita7d6fc9618aaee28fbbe2324ee8f6168e551d64f
tree580ae7ab5c24f70907bf3fa5fc129ee1cf91dc30
parenta3b983aa5ed22e3e026f70f9a2c58f19ff334528
MachineFunction: Cleanup/simplify MachineFunctionProperties::print()

- Always compile print() regardless of LLVM_ENABLE_DUMP. (We usually
  only gard dump() functions with that).
- Only show the set properties to reduce output clutter.
- Remove the unused variant that even shows the unset properties.
- Fix comments

llvm-svn: 279338
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/CodeGen/MachineFunctionPass.cpp
llvm/test/CodeGen/AArch64/arm64-misched-multimmo.ll