summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This is the first patch to put the needed bits in place to eventually allow codeKevin Enderby2010-02-236-3/+73
| | | | | | | | | | | to be aligned with optimal nops. This patch does not change any functionality and when the compiler is changed to use EmitCodeAlignment() it should also not change the resulting output. Once the compiler change is made and everything looks good the next patch with the table of optimal X86 nops will be added to WriteNopData() changing the output. There are many FIXMEs in this patch which will be removed when we have better target hooks (coming soon I hear). llvm-svn: 96963
* Make previous fix handle a few more edge cases.Eli Friedman2010-02-231-3/+3
| | | | llvm-svn: 96962
* PR6400: Handle an extreme edge case in mangling correctly.Eli Friedman2010-02-232-0/+9
| | | | llvm-svn: 96961
* Mark unconditional branches as barriers. Found using -verify-machineinstrsRichard Osborne2010-02-231-3/+3
| | | | llvm-svn: 96960
* Roll r96559 forward again, adding libLLVM-2.7svn.so to LLVM. This links 3 ofJeffrey Yasskin2010-02-2313-12/+169
| | | | | | the examples shared to make sure the shared library keeps working. llvm-svn: 96959
* PR6386: Fix a recent regression in IRGen of cast-to-union constructs.Eli Friedman2010-02-232-1/+13
| | | | llvm-svn: 96958
* Speed up cycle checking significantly by caching results.David Greene2010-02-231-3/+9
| | | | llvm-svn: 96956
* Don't do (X != Y) ? X : Y -> X for floating-point values; it doesn'tDan Gohman2010-02-232-5/+76
| | | | | | | | handle NaN properly. Do (X une Y) ? X : Y -> X if one of X and Y is not zero. llvm-svn: 96955
* Spelling. s/suppor /support /Jim Grosbach2010-02-231-3/+3
| | | | llvm-svn: 96954
* Remove the code which constant-folded ptrtoint(inttoptr(x)+c) toDan Gohman2010-02-232-64/+5
| | | | | | | | | | | getelementptr. Despite only doing so in the case where x is a known array object and c can be converted to an index within range, this could still be invalid if c is actually the address of an object allocated outside of LLVM. Also, SCEVExpander, the original motivation for this code, has since been improved to avoid inttoptr+ptroint in more cases. llvm-svn: 96950
* Modified examples Makefile to only build the ExceptionDemo example for Garrison Venn2010-02-231-1/+6
| | | | | | | | | | | | | x86 and x86_64 on UNIX systems. Only OS X 10.6.2 (x86_64) and 32bit CentOS 5.2 with gcc 4.1.2 were tested. ARM UNIX build triggered failure motivating this modification, as it seems that the ARM ABI does not support _Unwind_GetIP(...), _Unwind_SetGR(...), and _Unwind_SetIP(...). From doing a quick browse of: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038a/IHI0038A_ehabi.pdf, it seems as if all other exception related apis are supported. Looks like the port can be done to ARM. Thanks to Xerxes Rånby <xerxes@zafena.se> for pointing out this error. llvm-svn: 96949
* Testing subversion commit accessWesley Peck2010-02-231-0/+1
| | | | llvm-svn: 96948
* Fix -mtune forwarding.Mikhail Glushenkov2010-02-231-5/+5
| | | | llvm-svn: 96944
* Remove unused lowering function LowerJumpTableRichard Osborne2010-02-232-13/+0
| | | | llvm-svn: 96943
* Lower BR_JT on the XCore to a jump into a series of jump instructions.Richard Osborne2010-02-237-5/+259
| | | | llvm-svn: 96942
* Retain attributes for K&R style parameter declarations.Richard Pennington2010-02-232-4/+16
| | | | llvm-svn: 96941
* tests: Don't make a missing llvm-gcc dir a fatal error.Daniel Dunbar2010-02-231-2/+0
| | | | llvm-svn: 96938
* Switch .bc/.ll Makefile rules to use LLVM{CC,CXX} instead of LLVMG{CC,XX}Daniel Dunbar2010-02-233-16/+16
| | | | llvm-svn: 96936
* Add LLVM{CC,CXX} make variables, which specify the configured path the LLVMDaniel Dunbar2010-02-232-0/+25
| | | | | | capable compilers (which could be llvm-gcc or clang). llvm-svn: 96935
* Initial configure support for using Clang as the LLVM capable compiler.Daniel Dunbar2010-02-233-5/+193
| | | | | | | | | | | | | | | | | | | Comes in two parts: 1. Use --with-clang=path/to/clang/compiler to select an installed clang, or --with-built-clang to have the makefiles use the clang which will be built as the LLVM capable compiler. If neither is given, --with-built-clang will be used if the Clang sources are checked out into the standard location (tools/clang). 2. Use --with-llvmcc={llvm-gcc,clang,none} to specify which LLVM capable compiler to use. If not given, then llvm-gcc will be used if available, otherwise Clang. Makefile support still to come. Eric, Doug, Chris, seem reasonable? llvm-svn: 96934
* Update mcc16 and the ancient Clang plugin for the 'cmd_line' -> 'command' ↵Mikhail Glushenkov2010-02-233-38/+32
| | | | | | change. llvm-svn: 96933
* Eliminate CFERuntimeLibDir make variable, this shouldn't be needed.Daniel Dunbar2010-02-231-4/+2
| | | | llvm-svn: 96932
* Fix a thinko in the lit.cfg.Daniel Dunbar2010-02-231-1/+1
| | | | llvm-svn: 96931
* Input files with empty suffixes must be passed to linker.Mikhail Glushenkov2010-02-232-2/+3
| | | | llvm-svn: 96927
* Support -Xlinker et al.Mikhail Glushenkov2010-02-231-1/+10
| | | | llvm-svn: 96926
* Temporary disable response files.Mikhail Glushenkov2010-02-231-1/+2
| | | | | | They are giving us problems on Mac. llvm-svn: 96925
* Typo.Mikhail Glushenkov2010-02-231-1/+1
| | | | llvm-svn: 96924
* Trailing whitespace.Mikhail Glushenkov2010-02-231-1/+1
| | | | llvm-svn: 96923
* Implement order-preserving option forwarding.Mikhail Glushenkov2010-02-232-21/+57
| | | | | | | | | | | Needed to correctly handle things like 'llvmc -framework Foo foo.o -framework Bar bar.o' - before this commit all '-framework' options would've been grouped together in the beginning. Due to our dependence on CommandLine this turned out to be a giant hack; we will migrate away from CommandLine eventually. llvm-svn: 96922
* Update the test suite.Mikhail Glushenkov2010-02-2313-21/+21
| | | | llvm-svn: 96921
* Correct option forwarding: initial implementation.Mikhail Glushenkov2010-02-237-194/+166
| | | | | | Does not work, but the infrastructure changes are in place. llvm-svn: 96920
* Precompiled headers: initial support.Mikhail Glushenkov2010-02-231-6/+28
| | | | llvm-svn: 96919
* New experimental/undocumented feature: 'works_on_empty'.Mikhail Glushenkov2010-02-236-9/+42
| | | | | | For now, just enough support to make -filelist work. llvm-svn: 96918
* Support '-install_name'.Mikhail Glushenkov2010-02-231-2/+4
| | | | llvm-svn: 96917
* Add a way to enable '-opt=foo' forwarding.Mikhail Glushenkov2010-02-232-3/+31
| | | | llvm-svn: 96916
* Inline and eliminate LLVMG{CC,XX}WITHPATH.Daniel Dunbar2010-02-232-9/+5
| | | | llvm-svn: 96913
* Remove ancient Xcode project, replaced by CMake project.Daniel Dunbar2010-02-232-3304/+0
| | | | llvm-svn: 96912
* Remove dead LUPGRADE make variable.Daniel Dunbar2010-02-231-3/+0
| | | | llvm-svn: 96911
* Kill off unused LLVMGCCLIBEXEC make variable.Daniel Dunbar2010-02-233-12/+2
| | | | llvm-svn: 96910
* Kill off LLVMGCCARCH and LLVMGCC_VERSION make variables.Daniel Dunbar2010-02-234-16/+2
| | | | llvm-svn: 96909
* Eliminate llvmgcc_version testing variable.Daniel Dunbar2010-02-237-30/+10
| | | | llvm-svn: 96908
* Kill off LLVMGCC_MAJVERS make variable.Daniel Dunbar2010-02-236-25/+2
| | | | llvm-svn: 96907
* Kill unused llvmgccmajvers testing variable.Daniel Dunbar2010-02-236-8/+1
| | | | llvm-svn: 96906
* add some #if 0'd out code for checking that named values in Chris Lattner2010-02-231-19/+41
| | | | | | | | input/output patterns have the same type. It turns out that this triggers all the time because we don't infer types between these boundaries. Until we do, don't turn this on. llvm-svn: 96905
* Reject patterns that use a name multiple times in the src or resultChris Lattner2010-02-231-7/+8
| | | | | | of a pattern and where the uses have different types. llvm-svn: 96904
* disable two patterns that are using non-sensical result pattern types.Chris Lattner2010-02-231-4/+4
| | | | llvm-svn: 96903
* Add test case for <rdar://problem/7242010>, which appears to have been fixedTed Kremenek2010-02-231-0/+21
| | | | | | | in the recent changes to RegionStore::InvalidateRegions(). Note that we are still not yet modeling 'memcpy()' explicitly. llvm-svn: 96902
* remove a confused pattern that is trying to match an addressChris Lattner2010-02-231-7/+0
| | | | | | then use it as an MMX register (!?). llvm-svn: 96901
* reject patterns that have dead named arguments in the input patternChris Lattner2010-02-231-7/+24
| | | | | | this is tidier and can find bugs. llvm-svn: 96900
* remove a bunch of dead named arguments in input patterns,Chris Lattner2010-02-235-46/+46
| | | | | | though some look dubious afaict, these are all ok. llvm-svn: 96899
OpenPOWER on IntegriCloud