summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix an error message regression. Print:Chris Lattner2006-06-201-1/+8
| | | | | | | | LI8: (LI8:i64 (imm:i64):$imm) instead of: LI8: (LI8:MVT::i64 (imm:MVT::i64):$imm) llvm-svn: 28868
* Remove some now-unneeded casts from instruction patterns. With the castsChris Lattner2006-06-202-22/+22
| | | | | | removed, tblgen produces identical output to with them in. llvm-svn: 28867
* Add some patterns for ppc64Chris Lattner2006-06-201-13/+14
| | | | llvm-svn: 28866
* Don't require src/dst patterns to be able to fully resolve their types,Chris Lattner2006-06-201-5/+11
| | | | | | | | | | | | | | | | | because information about one can help refine the other. This allows us to write: def : Pat<(i32 (extload xaddr:$src, i8)), (LBZX xaddr:$src)>; as: def : Pat<(extload xaddr:$src, i8), (LBZX xaddr:$src)>; because tblgen knows LBZX returns i32. llvm-svn: 28865
* Remove some ugly now-redundant casts.Chris Lattner2006-06-201-54/+54
| | | | llvm-svn: 28864
* Make sure to use the result of the pattern to infer the result type of theChris Lattner2006-06-201-22/+34
| | | | | | | | | | | | | | instruction, and the result type of the instruction to refine the pattern. This allows us to write things like this: def : Pat<(v2i64 (bitconvert (v16i8 VR128:$src))), (v2i64 VR128:$src)>; as: def : Pat<(v2i64 (bitconvert (v16i8 VR128:$src))), (VR128:$src)> and fixes a ppc64 issue. llvm-svn: 28863
* Fix some mismatched type constraintsChris Lattner2006-06-201-6/+6
| | | | llvm-svn: 28862
* References need to be section relative.Jim Laskey2006-06-191-3/+5
| | | | llvm-svn: 28861
* Minor clean up.Evan Cheng2006-06-191-6/+3
| | | | llvm-svn: 28860
* Do partial inlining in BU. This resolves more call sites. Also add options ↵Andrew Lenharth2006-06-192-62/+181
| | | | | | to merge in globals during recursion and to back annotate DSNodes when function pointers are resolved. This makes PA work for a whole lot more things (unresolved call sites being what has been killing various DSA based passes) llvm-svn: 28859
* References need to be section relative.Jim Laskey2006-06-191-1/+1
| | | | llvm-svn: 28858
* Fix a bug, don't drop indirect call sites, especially if there is nothing ↵Andrew Lenharth2006-06-191-1/+27
| | | | | | known about them yet, and restore a simple version of a removed function llvm-svn: 28857
* Handle versioning of compile unit.Jim Laskey2006-06-192-0/+11
| | | | llvm-svn: 28855
* initial implementation of ARMRegisterInfo::eliminateFrameIndexRafael Espindola2006-06-184-3/+34
| | | | | | fixes test/Regression/CodeGen/ARM/ret_arg5.ll llvm-svn: 28854
* Constant fold sqrtfChris Lattner2006-06-171-1/+4
| | | | llvm-svn: 28853
* Just a minor tweak so you can run things like:Chris Lattner2006-06-171-1/+2
| | | | | | | | | | | | TestRunner.sh Foo/Bar/test.ll instead of just TestRunner.sh test.ll which is convenient in conjunction with find. llvm-svn: 28852
* Clean upEvan Cheng2006-06-171-2/+1
| | | | llvm-svn: 28851
* Fix IndVarsSimplify/2006-06-16-Indvar-LCSSA-Crash.ll, a case where aChris Lattner2006-06-171-4/+19
| | | | | | | | "LCSSA" phi node causes indvars to break dominance properties. This fixes causes indvars to avoid inserting aggressive code in this case, instead indvars should be fixed to be more aggressive in the face of lcssa phi's. llvm-svn: 28850
* new testcase that crashes indvarsChris Lattner2006-06-171-0/+21
| | | | llvm-svn: 28849
* A new entry.Evan Cheng2006-06-171-0/+2
| | | | llvm-svn: 28848
* Implement the getPointerRegClass method, which is required for the ptr_rcChris Lattner2006-06-173-6/+20
| | | | | | magic to work. llvm-svn: 28847
* Forgot operands were hard coded for compile unit.Jim Laskey2006-06-161-2/+2
| | | | llvm-svn: 28846
* Include information of svn repository for llvm-gcc4.Jim Laskey2006-06-161-0/+16
| | | | llvm-svn: 28845
* Include information about svn repository for llvm-gcc4.Jim Laskey2006-06-161-0/+4
| | | | llvm-svn: 28844
* Later models likely to have Yonah like attributes.Evan Cheng2006-06-161-1/+2
| | | | llvm-svn: 28843
* Do not hardcode random paths into the makefile. Make the user specify theChris Lattner2006-06-161-5/+11
| | | | | | | SDK to use when building "universal" on Mac OS/X, if they want to use a specific one. llvm-svn: 28842
* Upgrade some load/store instructions to use the proper addressing mode stuff.Chris Lattner2006-06-161-10/+10
| | | | llvm-svn: 28841
* In 64-bit mode, addr mode operands use G8RC instead of GPRC.Chris Lattner2006-06-161-3/+3
| | | | llvm-svn: 28840
* fix some assumptions that pointers can only be 32-bits. With this, we canChris Lattner2006-06-163-62/+59
| | | | | | | | | | | | | | | | | | | | | now compile: static unsigned long X; void test1() { X = 0; } into: _test1: lis r2, ha16(_X) li r3, 0 stw r3, lo16(_X)(r2) blr Totally amazing :) llvm-svn: 28839
* Split 64-bit instructions out into a separate .td fileChris Lattner2006-06-162-130/+185
| | | | llvm-svn: 28838
* Force 64-bit register availability in 64-bit mode. For real.Chris Lattner2006-06-161-2/+2
| | | | llvm-svn: 28837
* Document known xcode 2.3 issueChris Lattner2006-06-161-0/+3
| | | | llvm-svn: 28836
* Remove the -darwin and -aix llc options, inferring darwinism and aixism fromChris Lattner2006-06-164-35/+7
| | | | | | the target triple & subtarget info. woo. llvm-svn: 28835
* Add missing casts. This fixed some regressions.Evan Cheng2006-06-161-2/+2
| | | | llvm-svn: 28834
* Improve a comment.Chris Lattner2006-06-161-1/+1
| | | | llvm-svn: 28833
* Simplify TargetData ctor callChris Lattner2006-06-161-1/+1
| | | | llvm-svn: 28832
* Don't pass target name into TargetData anymore, it is never used or needed.Chris Lattner2006-06-169-9/+9
| | | | llvm-svn: 28831
* Don't pass target name into TargetData anymore, it is never used or needed.Chris Lattner2006-06-168-14/+8
| | | | | | | Remove explicit casts to std::string now that there is no overload resolution issues in the TargetData ctors. llvm-svn: 28830
* Simplify the targetdata ctor by not passing in a "targetname" which is alwaysChris Lattner2006-06-161-8/+14
| | | | | | ignored. llvm-svn: 28829
* Remove ctor with each piece specifyable (which causes overload ambiguities),Chris Lattner2006-06-162-42/+12
| | | | | | add a new init method. llvm-svn: 28828
* Only count instructions as code size, not constant pools and other ↵Chris Lattner2006-06-161-6/+10
| | | | | | per-function stuff. llvm-svn: 28827
* Simplify interpreter construction.Chris Lattner2006-06-162-21/+11
| | | | llvm-svn: 28826
* Document the subtarget features better, make sure that 64-bit mode, 64-bitChris Lattner2006-06-162-6/+42
| | | | | | | | | | support, and 64-bit register use are all consistent with each other. Add a new "IsPPC" feature, to distinguish ppc32 vs ppc64 targets, use this to configure TargetData differently. This not makes ppc64 blow up on lots of stuff :) llvm-svn: 28825
* Rename some subtarget features. A CPU now can *have* 64-bit instructions,Chris Lattner2006-06-164-12/+12
| | | | | | can in 32-bit mode we can choose to optionally *use* 64-bit registers. llvm-svn: 28824
* apple's compiler works tooChris Lattner2006-06-161-3/+3
| | | | llvm-svn: 28823
* PR# not associated with XFAILJim Laskey2006-06-161-0/+1
| | | | llvm-svn: 28822
* debug info is alive againJim Laskey2006-06-162-4/+0
| | | | llvm-svn: 28821
* This test isn't implemented yetChris Lattner2006-06-161-0/+1
| | | | llvm-svn: 28820
* Add a error message to cbu to match buAndrew Lenharth2006-06-161-1/+7
| | | | llvm-svn: 28819
* move headerAndrew Lenharth2006-06-163-2/+2
| | | | llvm-svn: 28818
OpenPOWER on IntegriCloud