LLVM backend for 6502
Go to file
Dan Gohman 39ed6789c5 Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code that
gets placed inside a main function, and should not itself be a main
function. This is silently hidden in GCC-hosted builds because the
inner main looks like a nested function declaration, which GCC supports.
In builds with compilers which do not support nested functions (by default),
this was causing an error, which caused these autoconf checks to fail, 
leaving their options disabled.

This fixes test/Feature/load_module.ll on x86_64-unknown-linux-gnu
llvm-gcc selfhost builds, among other things.

This also includes a regenerated configure, as the diff is small and telling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102288 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-25 00:12:20 +00:00
autoconf Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code that 2010-04-25 00:12:20 +00:00
bindings add attributes and module level asm to the ocaml bindings, 2010-04-10 17:52:58 +00:00
cmake Tell Valgrind when we modify already-executed machine code so it knows 2010-03-15 04:57:55 +00:00
docs PHI nodes also do not necessarily return trap with a trap operand. 2010-04-24 22:15:58 +00:00
examples Use provided llvm-defined variables instead of twisting user-controlled knobs. 2010-04-24 05:07:24 +00:00
include Add a new utility function SimplifyICmpOperands. Much of this code is 2010-04-24 01:28:42 +00:00
lib Avoid promoting a i16 node if it would eliminate a (store (op (load))) opportunity. 2010-04-24 04:44:57 +00:00
projects Testing subversion commit access 2010-02-23 15:11:17 +00:00
runtime Delete a blank line. 2010-04-16 13:32:55 +00:00
test Generalize LSR's OptimizeMax to handle the new kinds of max expressions 2010-04-24 03:13:44 +00:00
tools Fixed edis to tokenize instructions with no 2010-04-24 01:00:16 +00:00
unittests silence some unused-value warnings. 2010-04-18 03:28:20 +00:00
utils Fixes to edis that mark x86 call targets as 2010-04-23 22:17:17 +00:00
website
build-for-llvm-top.sh
CMakeLists.txt CMake: Add options for using static runtime on MSVC++ build. 2010-03-18 13:52:05 +00:00
configure Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code that 2010-04-25 00:12:20 +00:00
CREDITS.TXT Adding the MicroBlaze backend. 2010-02-23 19:15:24 +00:00
LICENSE.TXT
llvm.spec.in
Makefile cross-build Makefile needs to unset CFLAGS/CXXFLAGS when building the build-side utilities since the flags will be for the cross-compiler. 2010-04-24 00:46:14 +00:00
Makefile.common
Makefile.config.in Add an autoconf check for -retain-symbols-file and conditionalize 2010-04-16 22:58:15 +00:00
Makefile.rules Don't touch CXXFLAGS. If it's set in the environment then sub-makes will see 2010-04-24 04:56:34 +00:00
ModuleInfo.txt
README.txt Give packagers some advice about how to build LLVM so it's useful to 2010-02-26 00:54:42 +00:00

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.

If you're writing a package for LLVM, see docs/Packaging.html for our
suggestions.