summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Formatting.Eric Christopher2012-01-121-1/+1
| | | | llvm-svn: 147988
* Revert some changes I did for logging that affected the ability to Greg Clayton2012-01-121-19/+17
| | | | | | load .o files in BSD archive parsing. llvm-svn: 147987
* Take into account the pointer to an aggregate that is passed as a hiddenAkira Hatanaka2012-01-122-2/+18
| | | | | | argument when Offset is initialized. llvm-svn: 147986
* Call CodeGenTypes::ConvertType to get LLVM::Type*.Akira Hatanaka2012-01-121-25/+4
| | | | | | Remove function MipsABIInfo::GetFloatingPointTy. llvm-svn: 147985
* Fix some edge cases with C++ casts and placeholder expressions.Eli Friedman2012-01-122-12/+24
| | | | llvm-svn: 147984
* rdar://problem/10492827Johnny Chen2012-01-122-3/+5
| | | | | | | | | | | | | | SBProcess.GetSTDERR() not getting stderr of the launched process Since we are launch the inferior with: process = target.LaunchSimple(None, None, os.getcwd()) i.e., without specifying stdin/out/err. A pseudo terminal is used for handling the process I/O, and we are satisfied once the expected output appears in process.GetSTDOUT(). llvm-svn: 147983
* objective-c: fixes a regression in looking up namesFariborz Jahanian2012-01-122-2/+25
| | | | | | | in class extensions and categories by recent refactoring of objc class ASTs. // rdar://1066654 llvm-svn: 147982
* Initial implementaiton of __dynamic_cast. There is still lots of debugging ↵Howard Hinnant2012-01-112-7/+376
| | | | | | code in here that needs to be stripped out. And many, many unit tests need to be written. And comments and probably code cleanliness needs to be improved. But I *think* the basic algorithm is sound. There also may still be some oportunities for algorithm optimization, I'm not positive. llvm-svn: 147981
* Revert r147978. A DenseMap's iterators may become invalidated here.Bill Wendling2012-01-111-1/+2
| | | | llvm-svn: 147980
* Make data structures private.Jakob Stoklund Olesen2012-01-113-11/+17
| | | | llvm-svn: 147979
* Use a DenseMap.Bill Wendling2012-01-111-2/+1
| | | | | | This appears to improve sqlite3's compile time by ~2%. llvm-svn: 147978
* Appease -Wnon-virtual-dtorMatt Beaumont-Gay2012-01-111-0/+2
| | | | llvm-svn: 147977
* Sink spillInterferences into RABasic.Jakob Stoklund Olesen2012-01-113-63/+62
| | | | | | This helper method is too simplistic for RAGreedy. llvm-svn: 147976
* Cleanup.Jakob Stoklund Olesen2012-01-111-9/+0
| | | | llvm-svn: 147975
* Extend test-case as requested by EliDouglas Gregor2012-01-111-0/+4
| | | | llvm-svn: 147974
* Improve the diagnostic when trying to redefine a typedef with aDouglas Gregor2012-01-113-2/+15
| | | | | | variably-modified type. llvm-svn: 147973
* Move RegAllocBase into its own cpp file separate from RABasic.Jakob Stoklund Olesen2012-01-113-312/+336
| | | | | | No functional change. llvm-svn: 147972
* Re-fix the issue Bill fixed in r147899 in a slightly different way, which ↵Eli Friedman2012-01-112-15/+7
| | | | | | doesn't abuse the semantics of linker_private. We don't really want to merge any string constant with a weak_odr global. llvm-svn: 147971
* 80 columns.Jim Grosbach2012-01-111-1/+2
| | | | llvm-svn: 147970
* lli should only create memmgr when JITing.Jim Grosbach2012-01-111-3/+1
| | | | llvm-svn: 147969
* Fix the caching in CorrectTypo so that other non-keyword identifiersKaelyn Uhrain2012-01-113-2/+11
| | | | | | | | | | | | | | are still added if the cached correction fails validation. Also fix a copy-and-paste error in a comment from my previous commit. Finally, add an example of the benefit the typo correction callback adds to TryNamespaceTypoCorrection--which happens to also tickle the above caching problem, as the only way a non-namespace Decl would be added to the possible corrections is if it was cached as the correction for a previous instance of the same typo where the typo was corrected to a non-namespace via a different code path. llvm-svn: 147968
* lli should create a JIT memory manager.Jim Grosbach2012-01-111-0/+4
| | | | | | | Previously let the JITEmitter do it. That's rather odd, and doesn't play nice with the MCJIT, so move the (trivial) logic up. llvm-svn: 147967
* Fix assert.Eric Christopher2012-01-111-2/+2
| | | | llvm-svn: 147966
* Disable the crash reporter when running lit tests.Argyrios Kyrtzidis2012-01-113-2/+22
| | | | llvm-svn: 147965
* On AVX, we can load v8i32 at a time. The bug happens when two uneven loads ↵Nadav Rotem2012-01-112-5/+35
| | | | | | | | | | are used. When we load the v12i32 type, the GenWidenVectorLoads method generates two loads: v8i32 and v4i32 and attempts to use CONCAT_VECTORS to join them. In this fix I concat undef values to widen the smaller value. The test "widen_load-2.ll" also exposes this bug on AVX. llvm-svn: 147964
* minor refactoring to improve compile-time performance.Fariborz Jahanian2012-01-111-2/+2
| | | | llvm-svn: 147963
* Add initial callback object support to Sema::CorrectTypo.Kaelyn Uhrain2012-01-115-105/+229
| | | | | | | | | Also includes two examples of the callback: a wrapper/replacement for the CorrectTypoContext enum, and a conversion of the two calls to CorrectTypo in SemaDeclCXX.cpp (one of which provides verifiable improvement to the typo correction, as demonstrated in the added test). llvm-svn: 147962
* Check to make sure that the CFString's back store ends up in the correct ↵Bill Wendling2012-01-111-0/+36
| | | | | | section. llvm-svn: 147961
* Support segmented stacks on mac.Rafael Espindola2012-01-113-92/+273
| | | | | | | | This uses TLS slot 90, which actually belongs to JavaScriptCore. We only support frames with static size Patch by Brian Anderson. llvm-svn: 147960
* Split segmented stacks tests into tests for static- and dynamic-size frames.Rafael Espindola2012-01-112-37/+71
| | | | | | Patch by Brian Anderson. llvm-svn: 147959
* Generate the segmented stack prologue for fastcc too.Rafael Espindola2012-01-112-1/+57
| | | | | | Patch by Brian Anderson. llvm-svn: 147958
* Revert r147945 which disabled an addressing mode transformation. I hadChandler Carruth2012-01-112-14/+10
| | | | | | | | | hoped this would revive one of the llvm-gcc selfhost build bots, but it didn't so it doesn't appear that my transform is the culprit. If anyone else is seeing failures, please let me know! llvm-svn: 147957
* objc-arc: evaluate 'readonly' property with no knownFariborz Jahanian2012-01-113-6/+100
| | | | | | | life-time to that of its backing 'ivar's lifetime. // rdar://10558871 llvm-svn: 147956
* constexpr: fix typo resulting in move constructors sometimes not beingRichard Smith2012-01-112-2/+7
| | | | | | implicitly marked constexpr when they should be. llvm-svn: 147955
* Use unsigned comparison in segmented stack prologue.Rafael Espindola2012-01-112-1/+7
| | | | | | | | This is a comparison of two addresses, and GCC does the comparison unsigned. Patch by Brian Anderson. llvm-svn: 147954
* [asan] extend the workaround for http://llvm.org/bugs/show_bug.cgi?id=11395: ↵Kostya Serebryany2012-01-111-1/+1
| | | | | | don't instrument the function at all on x86_32 if it has a large asm blob llvm-svn: 147953
* Explicitly set the scale to 1 on some segstack prologue instrs.Rafael Espindola2012-01-113-4/+8
| | | | | | Patch by Brian Anderson. llvm-svn: 147952
* The error check for using -g with a .s file already containing dwarf .fileKevin Enderby2012-01-112-4/+13
| | | | | | | directives was in the wrong place and getting triggered incorectly with a cpp .file directive. This change fixes that and adds a test case. llvm-svn: 147951
* Add XOP Intrinsics and testsJan Sjödin2012-01-113-73/+2250
| | | | llvm-svn: 147949
* Fix a bug in the lowering of BUILD_VECTOR for AVX. SCALAR_TO_VECTOR does not ↵Nadav Rotem2012-01-113-9/+26
| | | | | | zero untouched elements. Use INSERT_VECTOR_ELT instead. llvm-svn: 147948
* More tests for ARM FPU features.Evgeniy Stepanov2012-01-111-0/+12
| | | | | | Also remove the svn:eol-style property from the test file. llvm-svn: 147947
* Don't try to create a GEP when the pointee type is unsized (such GEPsDuncan Sands2012-01-112-1/+14
| | | | | | | are invalid). Fixes a crash on array1.C from the GCC testsuite when compiled with dragonegg. llvm-svn: 147946
* Disable the transformation I added in r147936 to see if it fixes someChandler Carruth2012-01-112-10/+14
| | | | | | | | strange build bot failures that look like a miscompile into an infloop. I'll investigate this tomorrow, but I'd both like to know whether my patch is the culprit, and get the bots back to green. llvm-svn: 147945
* Fix -mfpu parsing on ARM.Evgeniy Stepanov2012-01-113-2/+49
| | | | | | | | | - Support gcc-compatible vfpv3 name in addition to vfp3. - Support vfpv3-d16. - Disable neon feature for -mfpu=vfp* (yes, we were emitting Neon instructions for those!). llvm-svn: 147943
* Hoist a really redundant code pattern into a helper function, and deleteChandler Carruth2012-01-111-80/+29
| | | | | | lots of lines of code. No functionality changed. llvm-svn: 147942
* Simplify the AND-rooted mask+shift checking code to match that of theChandler Carruth2012-01-111-8/+6
| | | | | | SRL-rooted code. llvm-svn: 147941
* Unify the interface of the three mask+shift transform helpers, andChandler Carruth2012-01-111-26/+34
| | | | | | | factor the differences that were hiding in one of them into its other caller, the SRL handling code. No change in behavior. llvm-svn: 147940
* Clarify and make explicit some of the requirements for transformingChandler Carruth2012-01-111-52/+64
| | | | | | | | | | mask+shift pairs at the beginning of the ISD::AND case block, and then hoist the final pattern into a helper function, simplifying and reflowing it appropriately. This should have no observable behavior change, but several simplifications fell out of this such as directly computing the new mask constant, etc. llvm-svn: 147939
* Fix undefined code and reenable test case.Jakob Stoklund Olesen2012-01-112-4/+3
| | | | | | | I don't think the compact encoding code is right, but at least is has defined behavior now. llvm-svn: 147938
* Hoist the logic to transform shift+mask combinations into sub-registerChandler Carruth2012-01-111-56/+68
| | | | | | | | extracts and scaled addressing modes into its own helper function. No functionality changed here, just hoisting and layout fixes falling out of that hoisting. llvm-svn: 147937
OpenPOWER on IntegriCloud