[PATCH] D96033: [clang-repl] Land initial infrastructure for incremental parsing

Ulrich Weigand via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 18 08:05:24 PDT 2021


uweigand added a comment.

In D96033#2765954 <https://reviews.llvm.org/D96033#2765954>, @v.g.vassilev wrote:

> @hubert.reinterpretcast, thanks for the feedback. I have created a patch as discussed -- https://reviews.llvm.org/D102688
>
> @uweigand, thanks for reaching out. I believe the patch above should fix your setup. Could you confirm?

Unfortunately, it does not.  Changing the triple doesn't affect the architecture the compiler generates code for.   If you wanted to change the compiler to generate code for the architecture the JIT detects, the easiest way would probably be to use (the equivalent of) "-march=native", which causes the compiler to also auto-detect the current processor in the same way as the JIT does.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96033/new/

https://reviews.llvm.org/D96033



More information about the cfe-commits mailing list