summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Target/Hexagon: Fix CMake build. We don't use add_llvm_library_dependencies().NAKAMURA Takumi2011-12-132-16/+0
| | | | llvm-svn: 146457
* Don't rely on a particular version string for llvm.Nick Lewycky2011-12-131-1/+1
| | | | llvm-svn: 146456
* Temporarily disable Hexagon tests. They are failing on OS XTony Linthicum2011-12-1310-10/+20
| | | | llvm-svn: 146455
* s/%clang-cc1/%clang_cc1/ for conformity.Nick Lewycky2011-12-131-1/+1
| | | | llvm-svn: 146454
* [fast-isel] Guard "exhastive" fast-isel output with -fast-isel-verbose2.Chad Rosier2011-12-131-1/+6
| | | | llvm-svn: 146453
* Set umbrella directory correctly when we infer a framework moduleDouglas Gregor2011-12-121-1/+1
| | | | llvm-svn: 146451
* Fix "control may reach end of non-void function" warning.Nick Lewycky2011-12-121-2/+1
| | | | llvm-svn: 146448
* Implement the Microsoft __if_exists/if_not_exists extension in initializer-list.Francois Pichet2011-12-124-0/+111
| | | | | | | | | | | | | | | Necessary to parse Microsoft ATL code. Example: int array[] = { 0, __if_exists(CLASS::Type) {2, } 3 }; will declare an array of 2 or 3 elements depending on if CLASS::Type exists or not. llvm-svn: 146447
* [asan] update asan docsKostya Serebryany2011-12-121-11/+53
| | | | llvm-svn: 146446
* Tweak submodule ID handling in the AST writerDouglas Gregor2011-12-122-6/+9
| | | | llvm-svn: 146445
* objc-arc: better diagnostic when block is declaredFariborz Jahanian2011-12-123-3/+9
| | | | | | inside a struct/union. llvm-svn: 146444
* Make CGRecordLayoutBuilder correctly switch over to a packed class when a ↵Eli Friedman2011-12-122-36/+67
| | | | | | class has a base whose alignment will break the class layout. <rdar://problem/10551376>. llvm-svn: 146443
* Add BitcodeVerifier.cpp to CMakeList.Chad Rosier2011-12-121-0/+1
| | | | llvm-svn: 146442
* Add frontend flags to enable bitcode verifier pass.Chad Rosier2011-12-128-0/+21
| | | | llvm-svn: 146441
* Fix unused value warning for value used only in assert.Nick Lewycky2011-12-121-5/+2
| | | | llvm-svn: 146440
* Begin sketching out a bitcode verifier pass. Idea is to emit a .bc file andChad Rosier2011-12-122-2/+60
| | | | | | then read the file back in to verify use-list serialization/deserialization. llvm-svn: 146439
* Indvars: guard against exponential behavior in isHighCostExpansion.Andrew Trick2011-12-121-2/+7
| | | | | | | | This should always be done as a matter of principal. I don't have a case that exposes the problem. I just noticed this recently while scanning the code and realized I meant to fix it long ago. llvm-svn: 146438
* llvm-build: Switch to using the common subdirectory list instead ofDaniel Dunbar2011-12-123-27/+39
| | | | | | autodiscovery. llvm-svn: 146437
* LLVMBuild: Introduce a common section which currently has a list of theDaniel Dunbar2011-12-1226-10/+112
| | | | | | | | | | | subdirectories to traverse into. - Originally I wanted to avoid this and just autoscan, but this has one key flaw in that new subdirectories can not automatically trigger a rerun of the llvm-build tool. This is particularly a pain when switching back and forth between trees where one has added a subdirectory, as the dependencies will tend to be wrong. This will also eliminates FIXME implicitly. llvm-svn: 146436
* llvm-build: Don't write out the required_libraries list for "special" ↵Daniel Dunbar2011-12-122-1/+6
| | | | | | components, it is generated. llvm-svn: 146435
* llvm-build: Add sketchy support for preserving comments when usingDaniel Dunbar2011-12-123-3/+30
| | | | | | --write-llvmbuild. llvm-svn: 146434
* Test case for r146432 by Jack Carter.Akira Hatanaka2011-12-121-0/+13
| | | | llvm-svn: 146433
* Emit B (unconditional branch) when -relocation-model=pic and J (jump) whenAkira Hatanaka2011-12-123-8/+25
| | | | | | -relocation-model=static. llvm-svn: 146432
* Fix indentation.Akira Hatanaka2011-12-121-1/+1
| | | | llvm-svn: 146431
* Suppress -Warray-bounds in certain cases involving macros from system headers.Matt Beaumont-Gay2011-12-123-1/+31
| | | | | | The motivation here is a "clever" implementation of strncmp(), which peels the first few comparisons via chained conditional expressions which ensure that the input arrays are known at compile time to be sufficiently large. llvm-svn: 146430
* Rename some test methods, with no functionality change.Johnny Chen2011-12-121-4/+4
| | | | llvm-svn: 146429
* Fixed register allocator splitting a live range on a spilling variable.Pete Cooper2011-12-123-4/+25
| | | | | | | | If we create new intervals for a variable that is being spilled, then those new intervals are not guaranteed to also spill. This means that anything reading from the original spilling value might not get the correct value if spills were missed. Fixes <rdar://problem/10546864> llvm-svn: 146428
* Commenting out the two @expectedFailureClang decorators as the tests have ↵Johnny Chen2011-12-121-2/+2
| | | | | | | | | | been passing for a while with the recent clang compilers. The latest I tried is: Apple clang version 3.1 (tags/Apple/clang-318.0.9) (based on LLVM 3.1svn) llvm-svn: 146427
* rdar://problem/10227672Johnny Chen2011-12-125-11/+76
| | | | | | | | | | | | | | | | | | There were two problems associated with this radar: 1. "settings show target.source-map" failed to show the source-map after, for example, "settings set target.source-map /Volumes/data/lldb/svn/trunk/test/source-manager /Volumes/data/lldb/svn/trunk/test/source-manager/hidden" has been executed to set the source-map. 2. "list -n main" failed to display the source of the main() function after we properly set the source-map. The first was fixed by adding the missing functionality to TargetInstanceSettings::GetInstanceSettingsValue (Target.cpp) and updating the support files PathMappingList.h/.cpp; the second by modifying SourceManager.cpp to fix several places with incorrect logic. Also added a test case test_move_and_then_display_source() to TestSourceManager.py, which moves main.c to hidden/main.c, sets target.source-map to perform the directory mapping, and then verifies that "list -n main" can still show the main() function. llvm-svn: 146422
* fix warningTony Linthicum2011-12-121-1/+1
| | | | llvm-svn: 146420
* Use forward types where possible to avoid having to parse extra DWARF whenGreg Clayton2011-12-121-8/+10
| | | | | | it is not required. llvm-svn: 146418
* Implement 'e' and 'f' modifiers for Neon inline asm. <rdar://problem/10551006>Bob Wilson2011-12-122-4/+24
| | | | | | | | | These modifiers simply select either the low or high D subregister of a Neon Q register. I've also removed the unimplemented 'p' modifier, which turns out to be a bit different than the comment here suggests and as far as I can tell was only intended for internal use in Apple's version of gcc. llvm-svn: 146417
* Fixes a bug in calculation of field offsets of ms_structFariborz Jahanian2011-12-122-3/+35
| | | | | | | fields by just following what comment says. // rdar://10513599 llvm-svn: 146414
* Hexagon backend supportTony Linthicum2011-12-1215-6/+3355
| | | | llvm-svn: 146413
* Hexagon backend supportTony Linthicum2011-12-1277-11/+24690
| | | | llvm-svn: 146412
* Only replace fwrite with fputc, if the return value is unused.Joerg Sonnenberger2011-12-122-1/+15
| | | | llvm-svn: 146411
* LLVMBuild: Remove trailing newline, which irked me.Daniel Dunbar2011-12-12111-111/+2
| | | | llvm-svn: 146409
* When computing reverse-CFG reverse-post-order, skip backedges, asDan Gohman2011-12-121-38/+94
| | | | | | | | | | | | | detected in the forward-CFG DFS. This prevents the reverse-CFG from visiting blocks inside loops after blocks that dominate them in the case where loops have multiple exits. No testcase, because this fixes a bug which in practice only shows up in a full optimizer run, due to the use-list order. This fixes rdar://10422791 and others. llvm-svn: 146408
* XOP instructions and encoding tests.Jan Sjödin2011-12-124-0/+849
| | | | llvm-svn: 146407
* Further tweaking of diagnostic text for casts performing reinterpret_castRichard Smith2011-12-122-6/+6
| | | | | | conversions in constant expressions. llvm-svn: 146406
* Add a postOffset() alignment argument.Jakob Stoklund Olesen2011-12-121-14/+15
| | | | | | | This computes the offset of the layout sucessor block, considering its alignment as well. llvm-svn: 146401
* Fix typo.Jakob Stoklund Olesen2011-12-121-1/+1
| | | | llvm-svn: 146400
* When we have an umbrella directory in a module map, recursively walkDouglas Gregor2011-12-123-1/+7
| | | | | | the subdirectories to find headers in submodules. llvm-svn: 146398
* XOP encoding bits and logic.Jan Sjödin2011-12-123-5/+44
| | | | llvm-svn: 146397
* Made some minor tweaks to __cxa_rethrowHoward Hinnant2011-12-122-9/+13
| | | | llvm-svn: 146396
* Clean up diagnostic wording for disallowed casts in C++11 constant expressions.Richard Smith2011-12-123-11/+16
| | | | llvm-svn: 146395
* Always return a valid answer for qMemoryRegionInfo if the packet is supported.Greg Clayton2011-12-127-98/+90
| | | | | | | | | We will return a valid range when possible and omit the "permissions" key when the memory is not readable, writeable or executeable. This will help us know the difference between an error back from this packet and unsupported, from just "this address isn't in a valid region". llvm-svn: 146394
* Don't mark include guard macros as implicitly private. This isn'tDouglas Gregor2011-12-122-21/+2
| | | | | | | actually a terribly good heuristic, and the world is too horrible for it to work. llvm-svn: 146393
* Fix signature of vsscanf in Builtins.defHans Wennborg2011-12-122-2/+2
| | | | llvm-svn: 146392
* Also set the proper alignment on inner islands and the function itself.Jakob Stoklund Olesen2011-12-121-15/+29
| | | | | | | | | Downgrade the alignment of the initial constant island when constant pool entries are moved elsewhere. This is all gated by -arm-align-constant-islands. llvm-svn: 146391
OpenPOWER on IntegriCloud