[PATCH] D84264: [SCCP] Directly remove non-feasible edges

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 11:01:27 PDT 2020


fhahn added a comment.

In D84264#2172687 <https://reviews.llvm.org/D84264#2172687>, @nikic wrote:

> @MaskRay How would I go about reproducing this issue? This is the first time I'm trying a stage2 build. I've used this cmake configuration
>
>   cmake -G Ninja ../llvm \
>     -DCLANG_ENABLE_BOOTSTRAP=On \
>     -DCMAKE_BUILD_TYPE=Release \
>     -DLLVM_TARGETS_TO_BUILD="X86;Hexagon" \
>     -DLLVM_ENABLE_PROJECTS="clang;compiler-rt" \
>     -DLLVM_APPEND_VC_REV=false \
>     -DCLANG_ENABLE_ARCMT=false \
>     -DCLANG_ENABLE_STATIC_ANALYZER=false
>
>
> and then ran `ninja stage2`. However, I did not get an error this way.


I usually set up things myself, by treating it as a regular build, just with additionally setting `-DCMAKE_C_COMPILER=` and `-DCMAKE_CXX_COMPILER=` to the local build I want to use to build stage2. Before building stage2, you just have to make sure the stage1 compiler  build is up-to-date with the changes you want.

@MaskRay I guess some additional options need to be set for the build? It would be great if you could provide additional details, ideally with the full traceback as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84264





More information about the llvm-commits mailing list