aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-10-25Patch to support MSVC correctly, contributed by Morten Ofstad!Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17213 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-25Modified switch generation so that only the phi values associated with theJohn Criswell
destination basic block are copied. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17212 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-25New Makefile Features:Reid Spencer
* "dist" target now builds tar.gz, tar.bz2, and zip files suitable for distribution. "dist" can only be run from $(BUILD_OBJ_ROOT) and implies a "check". * made the preconditions not do a recursive make and ensured that they are executed sequentially. * made the messages output by the makefile be prefixed with "llvm" and the make level (e.g. llvm[1]: ) in the same way that make does so that the messages are uniform and more readable. * Fixed the tags target so that tags depends on TAGS which contains the rules to build a file named TAGS * Implemented the EXTRA_DIST feature in a few directories to make sure it works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17210 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-25Teach mkinstalldirs how to shut up about making directories.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17209 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-25Add a check for the tar program.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17208 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Implement more complete and correct codegen for bitfield inserts, as testedNate Begeman
by the recently committed rlwimi.ll test file. Also commit initial code for bitfield extract, although it is turned off until fully debugged. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17207 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Initial checkin of regression test for generating the PowerPC rlwimiNate Begeman
instruction, which performs bitfield inserts. All tests should compile to one rlwimi instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17206 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24First draft. More to come.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17205 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Fix uninstall from rebuilding everything (wrong dependency)Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17204 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Move top level rules for tags and installing headers to Makefile.rulesReid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17203 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Implemented New Features:Reid Spencer
* Fixed the install target to install files correctly * Implemented the uninstall target to remove files from install dirs * Isolated the top level targets (dist, dist-check, dist-clean, tags) so they only run/exist from the top level directory * Put if/endif gaurds around potentially dangerous $(RM) commands. * Implemented place-holder rules for distribution targets to just say that they aren't implemented yet. * Implemented tags target in Makefile.rules so all projects can use it * Made a pony for resistor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17202 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Fix the previous bug the correct way. This fixes ptrdist/bcChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17201 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Fix grammar in comments to getSizeOf()Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17200 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Make this actually work.Alkis Evlogimenos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17199 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Improve comments and wrap to 80 columns.Alkis Evlogimenos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17198 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Make the $(OBJDIR) go away on clean-local.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17197 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24Add ConstantExpr::getSizeOf(Type*).Alkis Evlogimenos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17196 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23* Correctly handle the MovePCtoLR pseudo-instr with a bl to next instrMisha Brukman
* Stop the confusion of using rv and Addr for global addresses: just use rv git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17195 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Add BA, BL, and BLA opcodesMisha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17193 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Several Changes:Reid Spencer
* Fix parallel build problem on generated dependency files * Fix rule confusion between .a and .la libraries so that parallel builds don't get confused on who is building which .o and which library it is going into. * Fix dependency inclusion to only include C/C++ dependency files because other types of sources won't have dependencies auto generated. * Change "Source" to "SOURCES" for naming consistency * Update parallel build rules for new recursive targets * Implement EXPERIMENTAL_DIRS (failure allowed) feature * Implement -local version of targets (all-local, clean-local, etc) * Implement recursive targets in terms of their local counterparts * Clarify names of some internal variables * Move documentation to docs/MakefileGuide.html * Clean up commentary git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17192 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Make clean quieter.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17191 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23* Do not emit IMPLICIT_DEF pseudo-instructionsMisha Brukman
* Convert register numbers from their opcode value to the real value, e.g. PPC::R1 => 1 and PPC::F1 => 1 * Add correct handling of loading of global values which are PC-relative -- implement ha16() and lo16() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17190 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Fix nightly build by avoiding shared library construction.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17187 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23* Actually ignore build errors in optional directoriesReid Spencer
* Use LLVM_SRC_ROOT as the anchor for the Target.td file * Use MFLAGS instead of MAKEFLAGS for recursive makes so we don't try to build a target "w" or "s" mysteriously. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17186 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Remove the clean target.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17185 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23First cut at the LLVM Makefile Guide. There's lots to correct and lots moreReid Spencer
to write, but this is all my brain can muster for tonight. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17184 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23DForm_1, particularly used by store instructions, needs the immediate operand toMisha Brukman
be listed second as that is how the instructions are usually created (and is the correct asm syntax) so that it's assembled correctly from its constituents git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17183 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Fix the SPR field for MTLR, MFLR, MTCTR, and MFCTR instructions.Misha Brukman
The decimal value given in the manual (8 or 9) really needs to be multiplied by a factor of 32 because of the group of 5 zero bits after the register code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17182 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23The value of the XO field for MFLR and MFCTR is 339, not 399Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17181 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Remove extraneous blank lineMisha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17180 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Make VC happier, patch contributed by Morten OfstadChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17179 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Align function arguments in function headersMisha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17178 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Fix a bug that Brian brought to my attention. This corrects:Chris Lattner
Assembler/2004-10-22-BCWriterUndefBug.llx git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17177 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23New testcaseChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17176 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23Kill casts from integer types to unsigned byte, when the cast was only usedNate Begeman
as the shift amount operand to a shift instruction. This was causing us to emit unnecessary clear operations for code such as: int foo(int x) { return 1 << x; } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17175 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Use cleaner quoting and eliminate blank spaceMisha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17174 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Clean up the output from this makefile so its not verbose.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17173 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Make sure that we don't set up a circular dependency if OBJDIR == SRCDIRReid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17172 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Remove double colon rule for gram.tab.h so it doesn't conflict with theReid Spencer
auto-generated dependency rule. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17171 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Pull in Target.td using absolute path from source root instead of relative path;Misha Brukman
this allows us to have sub-targets whose depth in the tree is not the same as it is for the standard X86/PowerPC/Sparc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17170 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Adjust rules for building .inc files due to Reid's changes of Makefile.rulesMisha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17169 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22We're not doing automake any moreReid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17168 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Adjust to changes in Makefile.rulesReid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17167 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Shorten the rules, speed it up, correct library contruction, add *.td rulesReid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17166 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Remove the unused SourceDir variable (use BUILD_SRC_DIR)Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17165 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22One more file to remove now that we're not doing automake.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17164 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Eliminate compilation warning on uninitialized variable.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17163 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22*** empty log message ***Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17161 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22New testcase. Check for the ability to promote a malloc whose initialzed ↵Chris Lattner
state is checked by the program git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17160 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22Fix a bug Nate noticed, where we miscompiled a simple testcaseChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17157 91177308-0d34-0410-b5e6-96231b3b80d8