aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Unclutter this by using new cast creation functions.Reid Spencer2006-12-041-8/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32192 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement new cast creation functions for both instructions and constantReid Spencer2006-12-044-2/+134
| | | | | | | | expressions. These will get used to reduce clutter as we replace various calls to createInferredCast and getCast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32191 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the intrinsic debug call to make this match current definition.Reid Spencer2006-12-041-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32190 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this test succeed on both Darwin and LinuxReid Spencer2006-12-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32189 91177308-0d34-0410-b5e6-96231b3b80d8
* Document the icmp and fcmp constant expressions.Reid Spencer2006-12-041-3/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32188 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL until PR1033 is fixed.Reid Spencer2006-12-041-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32187 91177308-0d34-0410-b5e6-96231b3b80d8
* Reduce the size of the ExprMapKeyType class.Reid Spencer2006-12-041-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32186 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for PR1033, x86-64 code gen fails on bitcast.Reid Spencer2006-12-041-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32185 91177308-0d34-0410-b5e6-96231b3b80d8
* Non-darwin gcc should default to static relocation to match gcc.Evan Cheng2006-12-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32184 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix test.Evan Cheng2006-12-041-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32183 91177308-0d34-0410-b5e6-96231b3b80d8
* Purpose of test is lost in upgrade.Jim Laskey2006-12-041-23/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32182 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove debug info.Jim Laskey2006-12-041-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32181 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix inferred casts.Reid Spencer2006-12-041-6/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32180 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix 80 cols violationReid Spencer2006-12-041-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32179 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-044-324/+324
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32178 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed to use current debug info.Jim Laskey2006-12-042-0/+183
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32177 91177308-0d34-0410-b5e6-96231b3b80d8
* Moving to DebugInfo.Jim Laskey2006-12-044-145/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32176 91177308-0d34-0410-b5e6-96231b3b80d8
* Duplicate of Regression/Debugger/funccall.ll.Jim Laskey2006-12-041-122/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32175 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-043-645/+669
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32173 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950: Implement read/write of ICmp and FCmp constant expressionsReid Spencer2006-12-042-6/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32172 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950: For ICmp and FCmp constant expressions, put the predicate ↵Reid Spencer2006-12-041-7/+7
| | | | | | outiside the parentheses to match what llvm-upgrade generates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32171 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950: Fix constant expressions to properly support ICmp and FCmp type ↵Reid Spencer2006-12-041-59/+127
| | | | | | expressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32170 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950: Implement a stub for folding ICmp and FCmp instructionsReid Spencer2006-12-043-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32169 91177308-0d34-0410-b5e6-96231b3b80d8
* 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