[PATCH] D41634: Branch relaxation - non invertible condition

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 10:47:39 PST 2018


delena added a comment.

In https://reviews.llvm.org/D41634#966775, @lebedev.ri wrote:

> I understand that if it is a out-of-tree target, the testcase is problematic,
>  but no testcase at all is worrying. Maybe unit-test can help?


It is a machine instruction pass. My target can't reverse conditional branches with FP comparison.
I just don't know how to create a unit-test without TII that decides whether the condition may be reversed. Can you give me an example of MIR test without target?


Repository:
  rL LLVM

https://reviews.llvm.org/D41634





More information about the llvm-commits mailing list