[PATCH] D32058: Add a section about simplifying .mir tests

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 10:18:21 PDT 2017


MatzeB added inline comments.


================
Comment at: llvm/trunk/docs/MIRLangRef.rst:120
+  contains dummy functions (see above). The .mir loader will create the
+  IR functions automatically in this case.
+
----------------
qcolombet wrote:
> Isn't that true only if you have one function. I think I saw it failed when having more than one. (We should fix that of course, if that's still the case!)
It definitely works with multiple functions. I think the logic just doesn't kick in if no IR block exists in the file.


Repository:
  rL LLVM

https://reviews.llvm.org/D32058





More information about the llvm-commits mailing list