[PATCH] D52829: [AArch64] Fix verifier error when outlining indirect calls

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 4 02:22:02 PDT 2018


olista01 added a comment.

I don't think adding a special case to the verifier makes sense, when it's easy enough to generate code which is valid by the normal rules.

I did consider the alternative of just generating a BR instruction directly, since the outliner runs very late so the isCall/isReturn flags are unlikely to be used in a later pass, but I'm not sure if the verifier would like that either.


Repository:
  rL LLVM

https://reviews.llvm.org/D52829





More information about the llvm-commits mailing list