Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks, this will fix http://llvm.org/PR28751
LGTM with the points below addressed:
include/llvm/Support/BranchProbability.h | ||
---|---|---|
73 ↗ | (On Diff #78287) | I would lean towards just adding a getRaw() const function and leaving the printing to the MIRPrinter in the grounds that there is no matching parseRaw() function here as well. The fact that the current code broke, is because the MIRPrinter was implemented with print() whose format changed in time, while the parse in MIParser stayed the same. |
lib/CodeGen/MIRPrinter.cpp | ||
485 ↗ | (On Diff #78287) | I'd lean towards printing it in hex. |