diff options
author | Gerolf Hoflehner <ghoflehner@apple.com> | 2014-07-01 05:10:06 +0000 |
---|---|---|
committer | Gerolf Hoflehner <ghoflehner@apple.com> | 2014-07-01 05:10:06 +0000 |
commit | 012dff0b237c860b8371332aa588756689e60be5 (patch) | |
tree | cffa65f22c4e57b05030d797fa0be95999d2e6f6 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 84941b92e67376fe13e2a4c5b589c3d3e3ebe2a5 (diff) | |
download | bcm5719-llvm-012dff0b237c860b8371332aa588756689e60be5.tar.gz bcm5719-llvm-012dff0b237c860b8371332aa588756689e60be5.zip |
Enable test/CodeGen/indirect-goto.c in 64b for local arrays
In 32b mode the reference count for block addresses
is not zero. This prevents inlining and constant
folding and causes the test to fail. Changing
the triple allows runnning the test in 64b mode.
The array in foo2 is now local instead of static until
at lower optimization levels the interprocedural constant
propagator is invoked before the global optimizer.
llvm-svn: 212092
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions