summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add addrmode5 fp load support. Swap float/thumb operand adding to handleEric Christopher2010-09-181-5/+21
| | | | | | thumb with floating point. llvm-svn: 114256
* Continue parsing more postfix expressions, even after semanticDouglas Gregor2010-09-185-40/+35
| | | | | | errors. Improves code completion in yet another case. llvm-svn: 114255
* Floating point stores have a 3rd addressing mode type.Eric Christopher2010-09-181-1/+9
| | | | llvm-svn: 114254
* Added '|' delimiter to separate inline asm multiple alternative constraints ↵John Thompson2010-09-184-9/+17
| | | | | | for Clang side of support. llvm-svn: 114253
* Fixed the way set/show variables were being accessed to being natively Greg Clayton2010-09-1860-1118/+1245
| | | | | | | | | | | | | | | | | | accessed by the objects that own the settings. The previous approach wasn't very usable and made for a lot of unnecessary code just to access variables that were already owned by the objects. While I fixed those things, I saw that CommandObject objects should really have a reference to their command interpreter so they can access the terminal with if they want to output usaage. Fixed up all CommandObjects to take an interpreter and cleaned up the API to not need the interpreter to be passed in. Fixed the disassemble command to output the usage if no options are passed down and arguments are passed (all disassebmle variants take options, there are no "args only"). llvm-svn: 114252
* Add more error checking to attribute vecreturnJohn Thompson2010-09-183-1/+43
| | | | llvm-svn: 114251
* Fix a bug with binding l-values to elided temporaries, and leave a coupleJohn McCall2010-09-183-7/+30
| | | | | | helpful asserts behind. llvm-svn: 114250
* formatted everything to fit within 80 columnsAnton Yartsev2010-09-181-274/+522
| | | | llvm-svn: 114249
* Add test that was missing in my previous commit.Rafael Espindola2010-09-181-0/+18
| | | | llvm-svn: 114248
* Testcase for r114239.Bill Wendling2010-09-181-0/+26
| | | | llvm-svn: 114247
* Revert r114244 since it breaks a test in Analysis.Tom Care2010-09-181-3/+0
| | | | llvm-svn: 114246
* Added a hook for the test driver to take an optional config file to customizeJohnny Chen2010-09-181-2/+16
| | | | | | | | | the running of the test suite. Right now, it doesn't do anything with the config file. Pass "-c myConfigFile" to specify the config file. llvm-svn: 114245
* IdempotentOperationChecker no longer reports errors that are post-dominated ↵Tom Care2010-09-181-0/+3
| | | | | | by a sink. This fixes some false positives that were flagged because a path was incomplete (usually in a loop). llvm-svn: 114244
* factor out a simple helper function to create a label for PC-relativeJim Grosbach2010-09-181-19/+17
| | | | | | instructions (PICADD, PICLDR, et.al.) llvm-svn: 114243
* PC-relative pseudo instructions are lowered and printed directly. Any encounterJim Grosbach2010-09-181-3/+2
| | | | | | with one in the generic printing code is an error. llvm-svn: 114242
* Attempt to XFAIL this test on arm-linux, which is inexplicably failing.Dan Gohman2010-09-181-0/+4
| | | | llvm-svn: 114241
* Fix vmov.f64 disassembly on targets where sizeof(long) != 8.Benjamin Kramer2010-09-172-2/+5
| | | | llvm-svn: 114240
* The MMX shift-with-immediate builtins require the equivalentBill Wendling2010-09-171-8/+8
| | | | | | shift-with-immediate LLVM intrinsics. llvm-svn: 114239
* Remove FIXME. The type is correct.Bill Wendling2010-09-171-1/+1
| | | | llvm-svn: 114238
* Add MC-inst handling for tPICADDJim Grosbach2010-09-171-0/+26
| | | | llvm-svn: 114237
* Sema/transparent_union: Make sure to add implicit cast when constructingDaniel Dunbar2010-09-172-0/+23
| | | | | | implicit union values for the transparent_union extension. llvm-svn: 114236
* Tweak in DeclPrinter printing of uses of copy constructors. Patch by Jim ↵Ted Kremenek2010-09-171-2/+5
| | | | | | Goodnow II. llvm-svn: 114235
* Update testDouglas Gregor2010-09-171-1/+2
| | | | llvm-svn: 114234
* Add target-specific DAG combiner for BUILD_VECTOR and VMOVRRD. An i64Bob Wilson2010-09-172-0/+53
| | | | | | | | value should be in GPRs when it's going to be used as a scalar, and we use VMOVRRD to make that happen, but if the value is converted back to a vector we need to fold to a simple bit_convert. Radar 8407927. llvm-svn: 114233
* Fixed a typo and supplied a more appropriate assert message.Johnny Chen2010-09-172-2/+4
| | | | llvm-svn: 114232
* Improve recovery when the middle expression of a ternary operator is ill-formedDouglas Gregor2010-09-172-2/+6
| | | | llvm-svn: 114231
* Teach the (non-MC) instruction printer to use the cannonical names for push/pop,Jim Grosbach2010-09-176-11/+82
| | | | | | and shift instructions on ARM. Update the tests to match. llvm-svn: 114230
* Avoid relocations in a common case.Rafael Espindola2010-09-171-1/+10
| | | | llvm-svn: 114229
* Added test cases to FoundationTestCase to exercise lookup of objc data types andJohnny Chen2010-09-172-5/+81
| | | | | | | | | | | | to evaluate expressions. Marked with @expectedFailure decorators for the time being. Enhanced the lldbtest.TestBase.expect() API to allow an additional keyword arg named "error". If the client passes "error=True", it signifies that an error while running the command is expected. The golden input is then compared against the return object's error output. llvm-svn: 114228
* Teach machine sink toEvan Cheng2010-09-174-77/+227
| | | | | | | | | | 1) Do forward copy propagation. This makes it easier to estimate the cost of the instruction being sunk. 2) Break critical edges on demand, including cases where the value is used by PHI nodes. Critical edge splitting is not yet enabled by default. llvm-svn: 114227
* Rework arm fast isel branch and compare code.Eric Christopher2010-09-171-8/+70
| | | | llvm-svn: 114226
* When we run into an error parsing or type-checking the left-hand sideDouglas Gregor2010-09-177-31/+32
| | | | | | | | | | | | | | | | | | | | | | | of a binary expression, continue on and parse the right-hand side of the binary expression anyway, but don't call the semantic actions to type-check. Previously, we would see the error and then, effectively, skip tokens until the end of the statement. The result should be more useful recovery, both in the normal case (we'll actually see errors beyond the first one in a statement), but it also helps code completion do a much better job, because we do "real" code completion on the right-hand side of an invalid binary expression rather than completing with the recovery completion. For example, given x = p->y if there is no variable named "x", we can still complete after the p-> as a member expression. Along the recovery path, we would have completed after the "->" as if we were in an expression context, which is mostly useless. llvm-svn: 114225
* Diagnose use of incomplete type on method argument type ofFariborz Jahanian2010-09-172-1/+21
| | | | | | | method definitions instead of crashing in code gen. Fixes radar 8421082. llvm-svn: 114223
* Machine CSE was forgetting to clear some data structures.Evan Cheng2010-09-171-0/+7
| | | | llvm-svn: 114222
* Update tests to handle MC-inst instruction printing of shift operations. TheJim Grosbach2010-09-174-7/+7
| | | | | | | | | legacy asm printer uses instructions of the form, "mov r0, r0, lsl #3", while the MC-instruction printer uses the form "lsl r0, r0, #3". The latter mnemonic is correct and preferred according the ARM documentation (A8.6.98). The former are pseudo-instructions for the latter. llvm-svn: 114221
* Fix a potential bug that can cause miscomparison with and without debug info.Evan Cheng2010-09-171-1/+1
| | | | llvm-svn: 114220
* Don't include <fenv.h> now that we have llvm/System/FEnv.h.Jakob Stoklund Olesen2010-09-171-1/+0
| | | | llvm-svn: 114219
* FileCheck-izeJim Grosbach2010-09-171-6/+11
| | | | llvm-svn: 114218
* Update C++0x statusDouglas Gregor2010-09-171-6/+22
| | | | llvm-svn: 114217
* Hook up verbose asm comment printing for SOImm operands in MC printerJim Grosbach2010-09-173-8/+6
| | | | llvm-svn: 114215
* trailing whitespaceJim Grosbach2010-09-171-8/+8
| | | | llvm-svn: 114212
* trailing whitespaceJim Grosbach2010-09-171-4/+4
| | | | llvm-svn: 114211
* Changed test case method names.Johnny Chen2010-09-171-3/+3
| | | | llvm-svn: 114210
* fix rdar://8445858 - __sync_* intrinsics erroneously reject ObjC pointersChris Lattner2010-09-172-1/+11
| | | | llvm-svn: 114209
* Only assignment operator triggers property setter call.Fariborz Jahanian2010-09-172-1/+35
| | | | | | Fixes radar 8437253. llvm-svn: 114207
* Move thumb2 tests to the thumb2 directoryJim Grosbach2010-09-172-0/+0
| | | | llvm-svn: 114206
* cmake: test for the presence of fenv.hOscar Fuentes2010-09-171-0/+1
| | | | llvm-svn: 114205
* tweak test to check instructions rather than relying on the comment stringJim Grosbach2010-09-171-4/+4
| | | | llvm-svn: 114204
* When traversing an InitListExpr, there may not be a syntactic form;Douglas Gregor2010-09-172-1/+22
| | | | | | | check for NULL and visit the InitListExpr we have if there is no syntactic form. llvm-svn: 114203
* Fix this test to avoid an "inexact" fold.Dan Gohman2010-09-171-1/+1
| | | | llvm-svn: 114202
OpenPOWER on IntegriCloud