summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Fix test to work on non-LP64 systems.Jordan Rose2012-11-271-5/+8
| | | | | | Thanks for the original catch in r168303, Takumi. llvm-svn: 168671
* Remove unneeded #include.Jakub Staszak2012-11-271-1/+0
| | | | llvm-svn: 168670
* Add a testcase that r168411 would break.Rafael Espindola2012-11-271-0/+11
| | | | llvm-svn: 168669
* <rdar://problem/12106825>Greg Clayton2012-11-276-98/+171
| | | | | | Allow the expression parser to see more than just data symbols. We now accept any symbol that has an address. We take precautions to only accept symbols by their mangled or demangled names only if the demangled name was not synthesized. If the demangled name is synthesized, then we now mark symbols accordingly and only compare against the mangled original name. llvm-svn: 168668
* Revert r168411 for now.Rafael Espindola2012-11-271-4/+6
| | | | llvm-svn: 168667
* The section is .debug_line.Eric Christopher2012-11-272-2/+2
| | | | llvm-svn: 168666
* Make building of llvm-jitlistener conditional on the USE_INTEL_JITEVENTS ↵Andrew Kaylor2012-11-271-1/+6
| | | | | | setting. llvm-svn: 168665
* Remove unneeded #include.Jakub Staszak2012-11-271-1/+0
| | | | llvm-svn: 168664
* llvm/CodeGen: Remove empty files in r168659.NAKAMURA Takumi2012-11-272-0/+0
| | | | llvm-svn: 168663
* The skipOnLinux decorator wasn't calling the test method correctly (no need ↵Jim Ingham2012-11-271-1/+1
| | | | | | | | to pass in the "self") resulting in errors on MacOS X for the tests so decorated. llvm-svn: 168662
* Code pretificationJoe Abbey2012-11-271-8/+8
| | | | llvm-svn: 168661
* Remove unused forward declaration.Jakub Staszak2012-11-271-1/+0
| | | | llvm-svn: 168660
* Remove unused MachineLoopRanges analysis.Jakub Staszak2012-11-277-265/+0
| | | | llvm-svn: 168659
* Extend test case for r168657.Chad Rosier2012-11-271-0/+30
| | | | llvm-svn: 168658
* [arm fast-isel] Appease the machine verifier by using the proper registerChad Rosier2012-11-271-4/+10
| | | | | | | | classes. The associated test case still doesn't pass, but it does have far fewer issues. rdar://12719844 llvm-svn: 168657
* Fast-math test for SimplifyInstruction: fold multiply by 0Michael Ilseman2012-11-272-55/+35
| | | | | | Applied the patch, rather than committing it. llvm-svn: 168656
* <rdar://problem/12636970>Greg Clayton2012-11-273-24/+108
| | | | | | Detect the new fixed clang that properly supports bitfields in objc classes. llvm-svn: 168655
* Revert r168635 "Step towards implementation of pass manager with ↵Owen Anderson2012-11-2712-33/+81
| | | | | | | | doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model". It appears to have broken at least one buildbot. llvm-svn: 168654
* Remove some Clang-specific ownership roles.Richard Smith2012-11-271-1/+1
| | | | llvm-svn: 168653
* Fast-math flags documentation added to LangRefMichael Ilseman2012-11-271-11/+123
| | | | llvm-svn: 168652
* llvm/test/CodeGen/X86/2012-07-15-broadcastfold.ll: Loosen expression ↵NAKAMURA Takumi2012-11-271-1/+1
| | | | | | corresponding to r168627. Win32 and *bsd were affected. llvm-svn: 168651
* Duplicate some common owners between Clang and LLVM.Richard Smith2012-11-271-0/+17
| | | | llvm-svn: 168650
* Fast-math test for SimplifyInstruction: fold multiply by 0Michael Ilseman2012-11-271-0/+55
| | | | llvm-svn: 168649
* Fast-math optimization: fold multiply by zeroMichael Ilseman2012-11-272-0/+48
| | | | | | Added in first optimization using fast-math flags to serve as an example for following optimizations. SimplifyInstruction will now try to optimize an fmul observing its FastMathFlags to see if it can fold multiply by zero when 'nnan' and 'nsz' flags are set. llvm-svn: 168648
* Fast-math test case for bitcode and textual reading/writingMichael Ilseman2012-11-271-0/+142
| | | | llvm-svn: 168647
* Fast-math flags for the bitcodeMichael Ilseman2012-11-273-0/+37
| | | | | | Added in bitcode enum for the serializing of fast-math flags. Added in the reading/writing of fast-math flags from the OptimizationFlags record for BinaryOps. llvm-svn: 168646
* Fast-math flags for LLVM IR parsing and printingMichael Ilseman2012-11-275-4/+54
| | | | | | Added in the ability to read LLVM IR text that contains fast-math flags as a sequence of capital letters separated by spaces in any order. Added in the printing of the fast-math flags in a canonical order, and don't print the other flags when 'fast' is specified, as 'fast' implies all the others. llvm-svn: 168645
* Make comment names match function names.Eric Christopher2012-11-271-3/+3
| | | | llvm-svn: 168644
* Add in sections for the fission case (no change so incorrect) andEric Christopher2012-11-271-1/+32
| | | | | | add a TODO for starting. llvm-svn: 168643
* Fast-math interfaces for InstructionsMichael Ilseman2012-11-272-0/+135
| | | | | | Add in getter/setter methods for Instructions, allowing them to be the interface to FPMathOperator similarly to now NUS/NSW is handled. llvm-svn: 168642
* Fast-math flags added to FPMathOperator.Michael Ilseman2012-11-271-0/+116
| | | | | | Created FastMathFlags convenience struct for the getting and setting of fast-math flags en masse. Added SubclassOptionalData bitfields and corresponding getters/setters to FPMathOperator for the various fast-math flags. llvm-svn: 168641
* Move Clang code owners list from llvm/ to cfe/.Richard Smith2012-11-271-14/+0
| | | | llvm-svn: 168640
* Move Clang code owners list from llvm/ to cfe/.Richard Smith2012-11-271-0/+23
| | | | llvm-svn: 168639
* Reorder section output ordering.Eric Christopher2012-11-271-25/+27
| | | | llvm-svn: 168638
* Whitespace cleanup.Eric Christopher2012-11-271-27/+27
| | | | llvm-svn: 168637
* Frontend: Create a virtual file for named pipe inputs.Daniel Dunbar2012-11-272-4/+5
| | | | | | - This ensures we see the right buffer size for the file. llvm-svn: 168636
* Step towards implementation of pass manager with doInitialization and ↵Owen Anderson2012-11-2612-81/+33
| | | | | | | | doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model Patch by Pedro Artigas, with feedback from by Chandler Carruth. llvm-svn: 168635
* The Function calling thread plan was replacing the stored stop info too ↵Jim Ingham2012-11-266-9/+49
| | | | | | | | | | soon, causing recursive entry into the breakpoint StopInfo's PerformAction, which is bad. Reworked this so that it is now correct. <rdar://problem/12501259> llvm-svn: 168634
* Add an assertion to ensure freezeReservedRegs() is only ever called once.Chad Rosier2012-11-261-0/+2
| | | | llvm-svn: 168633
* Make this test less sensitive.Eli Bendersky2012-11-261-4/+4
| | | | | | | It currently assumes register numbering and any harmless change in the X86 register naming makes it fail. It's enough to match the register names. llvm-svn: 168632
* Now that the X86 Maximal Stack Alignment Check pass has been removed (i.e.,Chad Rosier2012-11-262-3/+0
| | | | | | | | | r168627), we no longer need to call the freezeReservedRegs() function a second time. Previously, this pass was conservatively adding the FP to the set of reserved registers, requiring the second update to the reserved registers. rdar://12719844 llvm-svn: 168631
* Now that the X86 Maximal Stack Alignment Check pass has been removed (i.e.,Chad Rosier2012-11-261-1/+0
| | | | | | | | | r168627), we no longer need to call the freezeReservedRegs() function a second time. Previously, this pass was conservatively adding the FP to the set of reserved registers, requiring the second update to the reserved registers. rdar://12719844 llvm-svn: 168630
* Get rid of the getPointeeAlignment helper function fromEli Friedman2012-11-262-22/+14
| | | | | | | | InstCombineLoadStoreAlloca.cpp, which had many issues. (At least two bugs were noted on llvm-commits, and it was overly conservative.) Instead, use getOrEnforceKnownAlignment. llvm-svn: 168629
* do not require cloog from configureSebastian Pop2012-11-262-2/+2
| | | | llvm-svn: 168628
* Remove the X86 Maximal Stack Alignment Check pass as it is no longer necessary.Chad Rosier2012-11-265-75/+19
| | | | | | | | | | | | | | | This pass was conservative in that it always reserved the FP to enable dynamic stack realignment, which allowed the RA to use aligned spills for vector registers. This happens even when spills were not necessary. The RA has since been improved to use unaligned spills when necessary. The new behavior is to realign the stack if the frame pointer was already reserved for some other reason, but don't reserve the frame pointer just because a function contains vector virtual registers. Part of rdar://12719844 llvm-svn: 168627
* Improve diagnostic on C++11 attribute specifiers that appear at wrong ↵Michael Han2012-11-264-8/+117
| | | | | | | | | | | | | syntactic locations around class specifiers. This change list implemented logic that explicitly detects several combinations of locations where C++11 attribute specifiers might be incorrectly placed within a class specifier. Previously we emit generic diagnostics like "expected identifier" for such cases; now we emit specific diagnostic against the misplaced attributes, this also fixed a bug in old code where attributes appear at legitimate locations were incorrectly rejected. Thanks to Richard Smith for reviewing! llvm-svn: 168626
* Automatically create .dSYM for libcompiler_rt.dylib when using Apple's ↵Nick Kledzik2012-11-265-3/+5
| | | | | | internal build system llvm-svn: 168625
* fix typoSebastian Pop2012-11-261-1/+1
| | | | | | | | Caught while compiling polly without cloog: ../tools/polly/lib/RegisterPasses.cpp:77: error: use of enum 'CodegenChoice' without previous declaration llvm-svn: 168624
* remove dependence on CLOOG_FOUND for PollyVectorizerChoiceSebastian Pop2012-11-261-2/+0
| | | | | | | | | When polly was configured with cmake without cloog, compilation stopped with: ../tools/polly/lib/CodeGen/BlockGenerators.cpp:662: error: 'PollyVectorizerChoice' was not declared in this scope ../tools/polly/lib/CodeGen/BlockGenerators.cpp:662: error: 'VECTORIZER_FIRST_NEED_GROUPED_UNROLL' was not declared in this scope llvm-svn: 168623
* Don't use iterator after being erased.Jakub Staszak2012-11-261-1/+1
| | | | llvm-svn: 168622
OpenPOWER on IntegriCloud