This commit adds a single method to the Context object to parse a textual IR file. This is useful for reading input IR in unit tests.
@hans can you help me out? I accidentally pushed to the release_80 branch instead of to trunk, because of a mistake in my git-llvm configuration. I think it should be reverted.
Also see IRC logs starting 17:52 UTC on this day (Sunday).
I'll take a look at adding a check in git-llvm to avoid mistakes like this in the future.
UPDATE: here it is: https://reviews.llvm.org/D66395