summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Workaround a couple of Darwin assembler bugs.Evan Cheng2009-08-014-32/+72
| | | | llvm-svn: 77781
* Ok, ok, I give in. Fix tests for unused result warning.Daniel Dunbar2009-08-013-5/+5
| | | | llvm-svn: 77780
* Temporarily disable out-of-bounds checking. The current checking logic will ↵Ted Kremenek2009-08-013-3/+12
| | | | | | not work quite right with the changes I'm about to commit. llvm-svn: 77779
* Use %S, not `pwd`, and enable a line that *does* work.Daniel Dunbar2009-08-011-4/+4
| | | | | | - Doug, please check. llvm-svn: 77778
* lit: Fix two sh lexing bugs.Daniel Dunbar2009-08-011-4/+14
| | | | | | | - '\\\\' inside a "..." string becomes '\\'. - The '<' token wasn't being recognized. llvm-svn: 77777
* 'unset' isn't needed in these tests anymore, we always run with a controlledDaniel Dunbar2009-08-012-2/+0
| | | | | | environment. llvm-svn: 77776
* Give MachineFunctionAnalysis a destructor so it can verify thatDan Gohman2009-08-012-1/+5
| | | | | | that it released its allocated memory. llvm-svn: 77775
* Delete a redundant variable.Dan Gohman2009-08-011-1/+0
| | | | llvm-svn: 77774
* lit: Fix a name lookup problem, which only occurred on a race condition. This isDaniel Dunbar2009-08-012-2/+1
| | | | | | why dynamic binding sucks. llvm-svn: 77773
* lit: Pull a few more variables into the TestingConfig object.Daniel Dunbar2009-08-013-31/+19
| | | | llvm-svn: 77772
* Minor code simplifications.Dan Gohman2009-08-011-8/+8
| | | | llvm-svn: 77769
* Minor code simplifications.Dan Gohman2009-08-012-8/+1
| | | | llvm-svn: 77768
* Avoid a problem with ulimit on Solaris & friends, patch by Edward O'Callaghan!Daniel Dunbar2009-08-011-4/+9
| | | | llvm-svn: 77767
* lit: Don't use threads when only running one test, or with -j 1.Daniel Dunbar2009-08-011-11/+23
| | | | llvm-svn: 77766
* MultiTestRunner: Add 'sh' parsing to ShUtil.Daniel Dunbar2009-08-011-7/+246
| | | | llvm-svn: 77765
* Split t2MOVCCs since some assemblers do not recognize mov shifted register ↵Evan Cheng2009-08-013-8/+64
| | | | | | alias with predicate. llvm-svn: 77764
* More warnings for unused expressions.Anders Carlsson2009-08-012-0/+6
| | | | llvm-svn: 77763
* Make default ctor for ImmutableSet::iterator public.Ted Kremenek2009-08-011-2/+1
| | | | llvm-svn: 77762
* llvm-mc: More quoted identifier support.Daniel Dunbar2009-08-013-43/+88
| | | | llvm-svn: 77761
* SelectionDAGISel no longer needs to check hasAvailableExternallyLinkage,Dan Gohman2009-08-011-5/+0
| | | | | | | as it is now a MachineFunctionPass, and MachineFunctionPass now handles this. llvm-svn: 77760
* Make UnreachableMachineBlockElim preserve MachineDominatorTree andDan Gohman2009-08-011-0/+15
| | | | | | | | | MachineLoopInfo. llc now runs MachineLoopInfo and MachineDominatorTree only twice, instead of three times. llvm-svn: 77759
* The X86 maximal stack alignment calculator preserves the CFG. Also,Dan Gohman2009-08-011-2/+9
| | | | | | be more careful about the return value of runOnMachineFunction. llvm-svn: 77758
* X86 floating-point passes don't modify the CFG.Dan Gohman2009-08-012-0/+2
| | | | llvm-svn: 77757
* Fix Thumb2 function call isel. Thumb1 and Thumb2 should share the sameEvan Cheng2009-08-017-73/+61
| | | | | | | | | instructions for calls since BL and BLX are always 32-bit long and BX is always 16-bit long. Also, we should be using BLX to call external function stubs. llvm-svn: 77756
* Use setPreservesAll in X86CodeEmitter.Dan Gohman2009-07-311-0/+1
| | | | llvm-svn: 77755
* Use setPreservesAll and setPreservesCFG in CodeGen passes.Dan Gohman2009-07-3117-14/+31
| | | | llvm-svn: 77754
* SelectionDAGISel does not "preserve all", since it makes lots of changesDan Gohman2009-07-311-1/+3
| | | | | | to the MachineFunction. llvm-svn: 77753
* Use a range insert instead of an explicit loop.Dan Gohman2009-07-311-2/+1
| | | | llvm-svn: 77752
* Add beginnigs of rtti generation, wire up more of -fno-exceptions.Mike Stump2009-07-318-6/+78
| | | | llvm-svn: 77751
* llvm-mc: Add -triple, and fix some typosDaniel Dunbar2009-07-312-3/+3
| | | | llvm-svn: 77750
* llvm-mc: Fix .s output to quote section & symbol names when necessary.Daniel Dunbar2009-07-313-20/+59
| | | | llvm-svn: 77749
* Privatize all but one of the remaining constant tables.Owen Anderson2009-07-313-62/+58
| | | | llvm-svn: 77748
* Allow target intrinsics that return multiple values, i.e., struct types,Bob Wilson2009-07-311-15/+9
| | | | | | | | | | | | | | | | | | | | | | | | in SelectionDAGLowering::visitTargetIntrinsic. This removes a bit of special-case code for vector types. After staring at it for a while, I managed to convince myself that it is not necessary. The only case where TLI.getValueType() differs from MVT::getMVT is for iPTR, so this code could potentially make a difference for a vector of pointers. But, it looks like that is not supported. Calling TLI.getValueType() on a vector of pointers leads to the following sequence of calls: TargetLowering::getValueType MVT::getMVT MVT::getVectorVT(iPTR, num elements) MVT::getExtendedVectorVT MVT::getTypeForMVT for iPTR assertion fails "Type is not extended!" So, unless I'm really missing something, this bit of code is irrelevant to the current version of LLVM, which is consistent with the fact that I don't see this code in other similar places. llvm-svn: 77747
* Add a warning.Mikhail Glushenkov2009-07-311-1/+2
| | | | llvm-svn: 77746
* llvm-mc: A few more parsing / match tweaks.Daniel Dunbar2009-07-312-11/+69
| | | | | | | | | | | | | | - Operands which are just a label should be parsed as immediates, not memory operands (from the assembler perspective). - Match a few more flavors of immediates. - Distinguish match functions for memory operands which don't take a segment register. - We match the .s for "hello world" now! llvm-svn: 77745
* t2BR_JT is mov pc, it's 2 byte long, not 4.Evan Cheng2009-07-311-9/+9
| | | | llvm-svn: 77744
* Thumb2 movcc need .w suffix.Evan Cheng2009-07-311-3/+3
| | | | llvm-svn: 77743
* add some comments on how this is *supposed* to work. We don'tChris Lattner2009-07-311-0/+27
| | | | | | | need the PreferredEHDataFormat hook, but I have yet-more refactoring to do before I can zap it. llvm-svn: 77742
* rearrange a conditional. Even if this weren't #if 0'd out, this wouldChris Lattner2009-07-311-4/+5
| | | | | | have no functionality change. llvm-svn: 77741
* Simplify operand padding by keying off tabs in the asm stream. IfDavid Greene2009-07-318-153/+62
| | | | | | | | | | | | padding is disabled, tabs get replaced by spaces except in the case of the first operand, where the tab is output to line up the operands after the mnemonics. Add some better comments and eliminate redundant code. Fix some testcases to not assume tabs. llvm-svn: 77740
* llvm-mc: Support quoted identifiers.Daniel Dunbar2009-07-313-6/+50
| | | | | | | | | - Uses MCAsmToken::getIdentifier which returns the (sub)string representing the meaningfull contents a string or identifier token. - Directives aren't done yet. llvm-svn: 77739
* Remove the old struct builder code.Anders Carlsson2009-07-311-177/+1
| | | | llvm-svn: 77738
* And now we can generate a simple vtable. Still a work in progress...Mike Stump2009-07-312-11/+26
| | | | llvm-svn: 77737
* PreferredEHDataFormat is always call with data and global, but this wholeChris Lattner2009-07-315-61/+21
| | | | | | | thing is #if0'd out anyway. Just simplify the code by reducing the interface. Not deleting this is essential for Bill's continuing happiness. llvm-svn: 77736
* Move code from EmitUnion directly into the function that handles cast-to-union.Anders Carlsson2009-07-311-2/+28
| | | | llvm-svn: 77735
* Fix unit tests.Owen Anderson2009-07-311-14/+16
| | | | llvm-svn: 77734
* Move the metadata constructors back to 2.5 syntax.Owen Anderson2009-07-318-94/+60
| | | | llvm-svn: 77733
* Use the struct builder for unions.Anders Carlsson2009-07-311-0/+2
| | | | llvm-svn: 77732
* Fixup spacing and 80-col violations.Mike Stump2009-07-311-20/+27
| | | | llvm-svn: 77731
* Update unittest for LLVM API change.Benjamin Kramer2009-07-312-4/+4
| | | | llvm-svn: 77730
OpenPOWER on IntegriCloud