summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Update phab docs to clarify how to accept a change.Manuel Klimek2013-02-131-0/+6
| | | | llvm-svn: 175047
* Add some accessor and query methods for retrieving Attribute objects and such.Bill Wendling2013-02-133-0/+54
| | | | llvm-svn: 175046
* Make jumptables work for -staticReed Kotler2013-02-132-0/+73
| | | | llvm-svn: 175044
* Prevent insertion of "vzeroupper" before call that preserves YMM registers, ↵Elena Demikhovsky2013-02-132-0/+50
| | | | | | since a caller uses preserved registers across the call. llvm-svn: 175043
* Remove unnecessary condtional assignment. The next line ignores the result ↵Craig Topper2013-02-131-1/+0
| | | | | | of the assignment with the same condition. llvm-svn: 175042
* This is actually located at the end, not the middle.Eric Christopher2013-02-131-1/+1
| | | | llvm-svn: 175041
* Check i1 as well as i8 variables for 8 bit registers for x86 inlineEric Christopher2013-02-132-1/+32
| | | | | | assembly. llvm-svn: 175036
* Finish obviously broken thought.Eric Christopher2013-02-131-1/+1
| | | | llvm-svn: 175035
* [tsan] disable load widening in ThreadSanitizer modeKostya Serebryany2013-02-132-0/+32
| | | | llvm-svn: 175034
* [asan] fix confusing indentationKostya Serebryany2013-02-131-1/+2
| | | | llvm-svn: 175033
* use memcpy instead of dubious union to type pun two values,Chris Lattner2013-02-131-8/+9
| | | | | | thanks to David Blaike for pointing this out. llvm-svn: 175032
* Fix comment.Eric Christopher2013-02-131-2/+2
| | | | llvm-svn: 175024
* Debug Info: LiveDebugVarible can remove DBG_VALUEs, make sure we emit them back.Manman Ren2013-02-134-14/+189
| | | | | | | | | | | | | | RegisterCoalescer used to depend on LiveDebugVariable. LDV removes DBG_VALUEs without emitting them at the end. We fix this by removing LDV from RegisterCoalescer. Also add an assertion to make sure we call emitDebugValues if DBG_VALUEs are removed at runOnMachineFunction. rdar://problem/13183203 Reviewed by Andy & Jakob llvm-svn: 175023
* [ms-inline-asm] Make sure the AsmRewrite list is sorted in lexical order.Chad Rosier2013-02-131-0/+5
| | | | | | rdar://13202662 llvm-svn: 175021
* Test commit. Fixed typo.David Peixotto2013-02-131-1/+1
| | | | llvm-svn: 175020
* Fix commentArnaud A. de Grandmaison2013-02-131-2/+2
| | | | | | visitSExt is an adapted copy of the related visitZExt method, so adapt the comment accordingly. llvm-svn: 175019
* Changed isStoredObjCPointer => IsStoredObjCPointer. No functionality change.Michael Gottesman2013-02-121-4/+4
| | | | llvm-svn: 175017
* Add a default empty string to the 'value' of a string attribute.Bill Wendling2013-02-121-1/+1
| | | | llvm-svn: 175016
* Actually delete this code, since it's really not clear what it'sDan Gohman2013-02-121-24/+0
| | | | | | trying to do. llvm-svn: 175014
* [ms-inline-asm] Implement align directive (which is roughly equivalent to ↵Chad Rosier2013-02-122-9/+44
| | | | | | | | | | .align). Also, allow _EMIT and __EMIT for the emit directive. We already do the same for TYPE, SIZE, and LENGTH. rdar://13200215 llvm-svn: 175008
* This patch just fixes up various llvm formattingJack Carter2013-02-124-13/+14
| | | | | | | | | | violations such as tabs, blanks at eol and long lines. llvm-svn: 175007
* Add static cast to unsigned char whenever a character classification ↵Guy Benyei2013-02-1218-56/+80
| | | | | | function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. llvm-svn: 175006
* Record PRE predecessors with a SmallVector instead of a DenseMap, andDan Gohman2013-02-121-8/+9
| | | | | | avoid a second pred_iterator traversal. llvm-svn: 175001
* [ms-inline asm] Pass the length of the IDVal, so we can do a proper AsmRewrite.Chad Rosier2013-02-121-4/+5
| | | | llvm-svn: 174999
* [ms-inline asm] Accept the emit directive as either _emit or __emit.Chad Rosier2013-02-121-2/+2
| | | | llvm-svn: 174998
* When disabling PRE for a value is directly redundant with itselfDan Gohman2013-02-121-0/+2
| | | | | | | (through a loop), don't continue to iterate through the reamining predecessors. llvm-svn: 174994
* Remove target-specific info from the testcase for DWARF/pubnames.Krzysztof Parzyszek2013-02-121-3/+0
| | | | llvm-svn: 174992
* Check that pointers are removed from maps before calling delete on the pointers,Dan Gohman2013-02-121-3/+3
| | | | | | for tidiness' sake. llvm-svn: 174988
* Minor code simplification.Dan Gohman2013-02-121-1/+1
| | | | llvm-svn: 174985
* [ms-inline asm] Add support for lexing binary integers with a [bB] suffix.Chad Rosier2013-02-123-25/+60
| | | | | | | | | | | | | | This is complicated by backward labels (e.g., 0b can be both a backward label and a binary zero). The current implementation assumes [0-9]b is always a label and thus it's possible for 0b and 1b to not be interpreted correctly for ms-style inline assembly. However, this is relatively simple to fix in the inline assembly (i.e., drop the [bB]). This patch also limits backward labels to [0-9]b, so that only 0b and 1b are ambiguous. Part of rdar://12470373 llvm-svn: 174983
* Documentation: HowToUseAttributes: formatting (use monospaced font)Dmitri Gribenko2013-02-121-53/+54
| | | | llvm-svn: 174982
* Allow optionally generating pubnames section in DWARF info. IntroduceKrzysztof Parzyszek2013-02-127-2/+226
| | | | | | option "generate-dwarf-pubnames" to control it, set to "false" by default. llvm-svn: 174981
* added test cases for r174920 (prefetch disassembly)Kay Tiong Khoo2013-02-121-0/+6
| | | | llvm-svn: 174979
* Equal treatment of labels and other terminators in MI DAG construction.Sergei Larin2013-02-121-1/+1
| | | | | | | MI sched DAG construction allows targets to include terminators into scheduling DAG. Extend this functionality to labels as well. llvm-svn: 174977
* Add support for the pubnames section to llvm-dwarfdump.Krzysztof Parzyszek2013-02-124-0/+25
| | | | llvm-svn: 174976
* Fix the lit test added in r174972Paul Redmond2013-02-121-2/+2
| | | | | | Patch by: Kevin Schoedel llvm-svn: 174974
* Hexagon: Add support to generate predicated absolute addressing modeJyotsna Verma2013-02-122-20/+142
| | | | | | instructions. llvm-svn: 174973
* PR14562 - Truncation of left shift became undefPaul Redmond2013-02-122-2/+24
| | | | | | | | | | | DAGCombiner::ReduceLoadWidth was converting (trunc i32 (shl i64 v, 32)) into (shl i32 v, 32) into undef. To prevent this, check the shift count against the final result size. Patch by: Kevin Schoedel Reviewed by: Nadav Rotem llvm-svn: 174972
* [NVPTX] Disable vector registersJustin Holewinski2013-02-1219-1997/+1350
| | | | | | | | | | | Vectors were being manually scalarized by the backend. Instead, let the target-independent code do all of the work. The manual scalarization was from a time before good target-independent support for scalarization in LLVM. However, this forces us to specially-handle vector loads and stores, which we can turn into PTX instructions that produce/consume multiple operands. llvm-svn: 174968
* [ASan] Do not use kDefaultShort64bitShadowOffset on Mac, where the binaries ↵Alexander Potapenko2013-02-121-1/+2
| | | | | | may get mapped at 0x100000000+ and thus may interleave with the shadow. llvm-svn: 174964
* R600: Fix regression with shadow array sampler on pre-SI GPUs.Michel Danzer2013-02-121-1/+1
| | | | | | | | | | | | | | | 'R600/SI: Use proper instructions for array/shadow samplers.' removed two cases from TEX_SHADOW. Vincent Lejeune reported on IRC that this broke some shadow array piglit tests with the r600g driver. Reinstating the removed cases should fix this, and still works with radeonsi as well. I will follow up with some lit tests which would have caught the regression. NOTE: This is a candidate for the Mesa stable branch. Tested-by: Vincent Lejeune <vljn@ovi.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 174963
* Adding a HowTo for Attributes.Joe Abbey2013-02-122-0/+83
| | | | | | | This is based on Bill Wendling's email. No additional content has been added, but now there's a place for Attributes to capture future information. llvm-svn: 174961
* [asan] fix tests for the new ABIKostya Serebryany2013-02-122-4/+4
| | | | llvm-svn: 174959
* [asan] change the default mapping offset on x86_64 to 0x7fff8000. This gives ↵Kostya Serebryany2013-02-121-3/+5
| | | | | | roughly 5% speedup. Since this is an ABI change, bump the asan ABI version by renaming __asan_init to __asan_init_v1. llvm part, compiler-rt part will follow llvm-svn: 174957
* Merge the collected attributes into the call instruction's attributes.Bill Wendling2013-02-121-2/+2
| | | | llvm-svn: 174955
* Test for string attributes and for attribute group output.Bill Wendling2013-02-121-0/+28
| | | | llvm-svn: 174954
* Have the bitcode writer and reader handle the new attribute references.Bill Wendling2013-02-122-33/+11
| | | | | | | | The bitcode writer emits a reference to the attribute group that the object at the given index refers to. The bitcode reader is modified to read this in and map it back to the attribute group. llvm-svn: 174952
* Use the AttributeSet as the 'key' to the map instead of the 'raw' pointer.Bill Wendling2013-02-122-5/+6
| | | | llvm-svn: 174950
* Support string attributes in the AttrBuilder.Bill Wendling2013-02-121-11/+25
| | | | llvm-svn: 174948
* Don't consider definitions by other PHIs live-in when trimming a PHI source'sCameron Zwarich2013-02-121-1/+5
| | | | | | live range after inserting a copy at the end of a block. llvm-svn: 174945
OpenPOWER on IntegriCloud