OSDN Git Service

Subzero: A few fixes toward running larger programs.
authorJim Stichnoth <stichnot@chromium.org>
Thu, 7 Aug 2014 17:58:05 +0000 (10:58 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Thu, 7 Aug 2014 17:58:05 +0000 (10:58 -0700)
commit206833c632fa3307fca847d98b6414e2dc30062b
tree4f6feb77ef8ddcffc2eddc2583422cd451cf7f12
parent7da431b59be69bc6af383f3288f48f816b1c4f07
Subzero: A few fixes toward running larger programs.

1. Add 'llvm2ice -disable-globals' to disable Subzero translation of
global initializers, since full support isn't yet implemented.

2. Change the names of intra-block branch target labels to avoid
collisions with basic block labels.

3. Fix lowering of "br i1 <constant>, label ...", which was producing
invalid instructions like "cmp 1, 0".

4. Fix the "make format-diff" operation, which was diffing against the wrong target.

BUG= none
R=wala@chromium.org

Review URL: https://codereview.chromium.org/449093002
Makefile.standalone
src/IceClFlags.h
src/IceConverter.cpp
src/IceInstX8632.cpp
src/IceTargetLoweringX8632.cpp
src/llvm2ice.cpp
tests_lit/llvm2ice_tests/branch-simple.ll