aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For PR950: Implement ICmp/FCmp predicate printing for constant expressionsReid Spencer2006-12-041-35/+39
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32168 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950: Provide an isCompare method for detection of ICmp and FCmp ↵Reid Spencer2006-12-041-2/+6
| | | | | | constant expressions. Change interfaces to allow for ICmp and FCmp predicate values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32167 91177308-0d34-0410-b5e6-96231b3b80d8
* Update call to CastInst::getCastOpcode for its new signature.Reid Spencer2006-12-041-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32166 91177308-0d34-0410-b5e6-96231b3b80d8
* Change inferred casts to explicit casts.Reid Spencer2006-12-044-32/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32165 91177308-0d34-0410-b5e6-96231b3b80d8
* Take a baby step towards getting rid of inferred casts. Provide methods onReid Spencer2006-12-044-14/+58
| | | | | | | | | CastInst and ConstantExpr that allow the signedness to be explicitly passed in and reliance on signedness removed from getCastOpcode. These are temporary measures useful during the conversion of inferred casts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32164 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove line not meant to be committed.Reid Spencer2006-12-031-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32163 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle upgrade of llvm-gcc3 assembly files.Reid Spencer2006-12-031-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32161 91177308-0d34-0410-b5e6-96231b3b80d8
* Support ICmp/FCmp constant expression reading and writing.Reid Spencer2006-12-032-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32160 91177308-0d34-0410-b5e6-96231b3b80d8
* Update for signless GEP semantics.Reid Spencer2006-12-031-6/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32159 91177308-0d34-0410-b5e6-96231b3b80d8
* Use weak_import on linux, weak everywhere else. Makes test pass on Linux.Reid Spencer2006-12-031-1/+1
| | | | | | | | Checking for __APPLE_CC__ is useless as this just checks to see if the compiler is llvm-gcc, which we know it is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32158 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead code.Reid Spencer2006-12-032-348/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32157 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-033-261/+259
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32156 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove useless #include.Reid Spencer2006-12-031-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32155 91177308-0d34-0410-b5e6-96231b3b80d8
* These tests need llvm-upgrade. This fixes last night's nightly test fallout.Reid Spencer2006-12-0312-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32154 91177308-0d34-0410-b5e6-96231b3b80d8
* Match the llvmAsmParser's handling of ICmp and FCmp instructions.Reid Spencer2006-12-034-1730/+1812
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32153 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-035-2002/+2077
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32152 91177308-0d34-0410-b5e6-96231b3b80d8
* Shorten the FCmp and ICmp mnemonics to 3 letters. Make the parserReid Spencer2006-12-032-34/+41
| | | | | | | disambiguate them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32151 91177308-0d34-0410-b5e6-96231b3b80d8
* Shorten the FCmp predicate mnemonics.Reid Spencer2006-12-031-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32150 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement reading and writing of the ICmp and FCmp instructions.Reid Spencer2006-12-032-3/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32149 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the ICmp and FCmp instructions to be written by the AsmWriterReid Spencer2006-12-032-0/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32148 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement creation of ICmp and FCmp constant expressions.Reid Spencer2006-12-032-28/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32147 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove backwards compatibility goop. This is now handled by llvm-upgrade.Reid Spencer2006-12-032-632/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32146 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-035-2976/+2981
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32145 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove backwards compatibility goop. Now implemented in llvm-upgrade.Reid Spencer2006-12-033-602/+424
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32144 91177308-0d34-0410-b5e6-96231b3b80d8
* Upgrade to version 7 bytecode format.Reid Spencer2006-12-031-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32143 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-035-385/+388
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32142 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a needed #include.Reid Spencer2006-12-031-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32141 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-028-3249/+4014
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32140 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement upgrade of setcc instruction to icmp/fcmp, but don't enable itReid Spencer2006-12-022-1/+74
| | | | | | | yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32139 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure this file gets upgraded with llvm-upgradeReid Spencer2006-12-021-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32138 91177308-0d34-0410-b5e6-96231b3b80d8
* Upgrade intrinsic function calls manually.Reid Spencer2006-12-026-24/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32137 91177308-0d34-0410-b5e6-96231b3b80d8
* These files need llvm-upgrade.Reid Spencer2006-12-024-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32136 91177308-0d34-0410-b5e6-96231b3b80d8
* Rearrange code so that llvm-upgrade doesn't break the optimization thisReid Spencer2006-12-021-1/+1
| | | | | | | test is trying to verify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32135 91177308-0d34-0410-b5e6-96231b3b80d8
* Upgrade intrinsic function callsReid Spencer2006-12-022-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32134 91177308-0d34-0410-b5e6-96231b3b80d8
* Run llvm-upgrade on this test and/or upgrade intrinsic function calls.Reid Spencer2006-12-0218-77/+77
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32133 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove tests for checking bytecode upgrade. Bytecode upgrade is beingReid Spencer2006-12-027-9/+0
| | | | | | | replaced in 2.0 with assembly upgrade via the llvm-upgrade tool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32132 91177308-0d34-0410-b5e6-96231b3b80d8
* Upgrade old intrinsic function calls manually.Reid Spencer2006-12-021-13/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32131 91177308-0d34-0410-b5e6-96231b3b80d8
* Use llvm-upgrade these tests as they all use old assembly.Reid Spencer2006-12-0236-59/+50
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32130 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove old intrinsic declarations and usage.Reid Spencer2006-12-021-14/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32129 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-027-3607/+3794
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32128 91177308-0d34-0410-b5e6-96231b3b80d8
* Support several new upgrades:Reid Spencer2006-12-024-169/+215
| | | | | | | | | | | div -> fdiv/udiv/sdiv rem -> frem/urem/srem except -> unwind uninitialized -> external as well as tracking the element type of pointers, packed, and array. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32127 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a redundant RUN: line.Reid Spencer2006-12-021-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32126 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm-upgrade documentation.Reid Spencer2006-12-021-0/+66
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32125 91177308-0d34-0410-b5e6-96231b3b80d8
* Document the llvm-upgrade tool.Reid Spencer2006-12-021-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32124 91177308-0d34-0410-b5e6-96231b3b80d8
* Prevent a GEP from getting upgraded to avoid resulting test failure.Reid Spencer2006-12-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32123 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-024-520/+623
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32122 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the GEP upgrade for non-constant unsigned indicesReid Spencer2006-12-023-56/+87
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32121 91177308-0d34-0410-b5e6-96231b3b80d8
* Keep lists of values so they can be examined.Reid Spencer2006-12-027-442/+594
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32120 91177308-0d34-0410-b5e6-96231b3b80d8
* Update this test to use llvm-update.Reid Spencer2006-12-021-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32117 91177308-0d34-0410-b5e6-96231b3b80d8
* Build llvm-update now.Reid Spencer2006-12-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32116 91177308-0d34-0410-b5e6-96231b3b80d8