aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make PreventCoreFiles() do the right thing on Windows.Jeff Cohen2005-02-181-3/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20237 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove colloquialisms from the documentation.Misha Brukman2005-02-171-5/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20233 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compilation errors with VS 2005, patch contributed by Aaron Gray.Misha Brukman2005-02-171-8/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20232 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compilation errors with VS 2005, patch by Aaron Gray.Misha Brukman2005-02-171-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20231 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't rely on doubles comparing identical to each other, which doesn't workChris Lattner2005-02-171-4/+19
| | | | | | | for 0.0 and -0.0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20230 91177308-0d34-0410-b5e6-96231b3b80d8
* Map doubles from integers, not the double itself.Chris Lattner2005-02-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20229 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't sink argument loads into loops or other bad places. This disables ↵Chris Lattner2005-02-171-1/+8
| | | | | | folding of argument loads with instructions that are not in the entry block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20228 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not mark obviously unreachable blocks live when processing PHI nodes,Chris Lattner2005-02-171-40/+61
| | | | | | | | | | | | | and handle incomplete control dependences correctly. This fixes: Regression/Transforms/ADCE/dead-phi-edge.ll -> a missed optimization Regression/Transforms/ADCE/dead-phi-edge.ll -> a compiler crash distilled from QT4 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20227 91177308-0d34-0410-b5e6-96231b3b80d8
* New files, testing for a crash in ADCE compiling QT and a missed optimization.Chris Lattner2005-02-172-0/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20226 91177308-0d34-0410-b5e6-96231b3b80d8
* Scary typo that fixes ↵Chris Lattner2005-02-171-1/+1
| | | | | | | | | Regression/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCrash.ll and PR515. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20224 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase for PR515Chris Lattner2005-02-171-0/+63
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20223 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the "pax" program from the list of those needed to support LLVM.Reid Spencer2005-02-163-82/+39
| | | | | | | | The install target in Makefile.rules no longer uses pax but just uses find and "install" instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20216 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix installation of configuration files.Reid Spencer2005-02-161-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20215 91177308-0d34-0410-b5e6-96231b3b80d8
* * Don't flatten the directory hierarchy when installing headersReid Spencer2005-02-161-8/+13
| | | | | | | | | * Make it possible to have the Install program run in verbose mode when the TOOL_VERBOSE=1 option is set * Ensure non-executable installed files do not install with execute perms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20214 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use pax for installing header files. Use the install program instead.Reid Spencer2005-02-161-6/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20213 91177308-0d34-0410-b5e6-96231b3b80d8
* Somehow tablegen.exe got moved... fix up tablegen invocations to match.Jeff Cohen2005-02-161-16/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20212 91177308-0d34-0410-b5e6-96231b3b80d8
* Get bugpoint compiling with VC++ again, not that it works anyway.Jeff Cohen2005-02-161-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20211 91177308-0d34-0410-b5e6-96231b3b80d8
* Arg list already has program name in it.Jeff Cohen2005-02-161-15/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20208 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed node deletion bug.Tanya Lattner2005-02-162-6/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20207 91177308-0d34-0410-b5e6-96231b3b80d8
* Instead of doing a manual comparison loop, just use memcmp, thanks to JohnCChris Lattner2005-02-151-9/+6
| | | | | | | for the suggestion! :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20203 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this more efficient now that we know both files are the same length.Chris Lattner2005-02-151-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20202 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spellingMisha Brukman2005-02-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20201 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust DiffFilesWithTolerance to help poor cygwin's mmap facility byReid Spencer2005-02-151-8/+24
| | | | | | | | | | | handling zero length files a little more intelligently. If both files are zero length then we return 0 (true) indicating a match. If only one of the files is zero length then we return 1 (false) indicating that the files differ. If the files don't agree in length then they can't match so we skip the first loop that looks for a quick match. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20200 91177308-0d34-0410-b5e6-96231b3b80d8
* add Alpha to llcAndrew Lenharth2005-02-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20198 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a problem where the PPC backend lost track of the fact that it hadChris Lattner2005-02-151-1/+3
| | | | | | | | | to save and restore the LR register on entry and exit of a leaf function that needed to access globals or the constant pool. This should hopefully fix oscar from sending the PPC tester spinning out of control. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20197 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a sanity check.Chris Lattner2005-02-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20195 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new method to make it easy to update graphs.Chris Lattner2005-02-152-3/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20194 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fixedChris Lattner2005-02-151-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20193 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix volatile load/store of pointers. Consider this testcase:Chris Lattner2005-02-152-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | void %test(int** %P) { %A = volatile load int** %P ret void } void %test2(int*** %Q) { %P = load int*** %Q volatile store int** %P, int*** %Q ret void } instead of emitting: void test(int **l1_P) { int *l2_A; l2_A = (int **((volatile int **)l1_P)); return; } void test2(int ***l2_Q) { int **l1_P; l1_P = *l2_Q; *((volatile int ***)l2_Q) = l1_P; return; } ... which is loading/storing volatile pointers, not through volatile pointers, emit this (which is right): void test(int **l1_P) { int *l3_A; l3_A = *((int * volatile*)l1_P); return; } void test2(int ***l2_Q) { int **l1_P; l1_P = *l2_Q; *((int ** volatile*)l2_Q) = l1_P; return; } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20191 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fixed.Chris Lattner2005-02-151-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20190 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for PR510.Chris Lattner2005-02-151-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20189 91177308-0d34-0410-b5e6-96231b3b80d8
* wow, interesting typo :)Chris Lattner2005-02-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20187 91177308-0d34-0410-b5e6-96231b3b80d8
* execution tests shouldn't go here. This was killing the PPC nightly tester.Chris Lattner2005-02-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20186 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR496:Reid Spencer2005-02-141-2/+10
| | | | | | | | | | | When llvm-gcc is not available, bypass rules for Modules and Bytecode Libraries that require llvm-gcc and emit instead a warning that llvm-gcc is not available. This permits "make LLVMGCC=" to build LLVM completely without error and provides warnings about the modules and bc libs that could not be constructed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20185 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in my previous change to this, which broke the build on sparcs.Chris Lattner2005-02-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20184 91177308-0d34-0410-b5e6-96231b3b80d8
* Print GEP offsets as signed values instead of unsigned values. On X86, thisChris Lattner2005-02-141-3/+7
| | | | | | | | | | | | | | | prints: getelementptr (int* %A, int -1) as: "(A) - 4" instead of "(A) + 18446744073709551612", which makes the assembler much happier. This fixes test/Regression/CodeGen/X86/2005-02-14-IllegalAssembler.ll, and Benchmarks/Prolangs-C/cdecl with LLC on X86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20183 91177308-0d34-0410-b5e6-96231b3b80d8
* A testcase that LLC produces illegal asm on for Prolangs-C/cdecl now.Chris Lattner2005-02-141-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20182 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the second bug attached to PR504.Chris Lattner2005-02-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20181 91177308-0d34-0410-b5e6-96231b3b80d8
* Work around GCC PR19958, which causes programs to sometimes crash afterChris Lattner2005-02-141-0/+2
| | | | | | | printing help output or version info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20180 91177308-0d34-0410-b5e6-96231b3b80d8
* Write out single characters as chars, not strings.Misha Brukman2005-02-142-134/+134
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20179 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugs fixedChris Lattner2005-02-141-3/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20178 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement CodeGen/CBackend/2005-02-14-VolatileOperations.llChris Lattner2005-02-142-0/+30
| | | | | | | Volatile loads and stores need to emit volatile pointer operations in C. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20177 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2005-02-141-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20176 91177308-0d34-0410-b5e6-96231b3b80d8
* Update makefile to use PROJ_* makefile variables intead of BUILD_* asReid Spencer2005-02-141-2/+2
| | | | | | | | required by changes to the Makefile.rules. Patch contributed by Vladimir Merzliakov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20175 91177308-0d34-0410-b5e6-96231b3b80d8
* Update comments to reflect new variable names. Patch contributed byReid Spencer2005-02-141-5/+5
| | | | | | | Vladimir Merzliakov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20174 91177308-0d34-0410-b5e6-96231b3b80d8
* Give props to Andrew for the Alpha backendMisha Brukman2005-02-141-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20173 91177308-0d34-0410-b5e6-96231b3b80d8
* fix setcc on floats, fixes singlesource:pi, perhaps othersAndrew Lenharth2005-02-141-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20172 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase for PR509Chris Lattner2005-02-141-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20171 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the llvm bootstrapChris Lattner2005-02-131-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20170 91177308-0d34-0410-b5e6-96231b3b80d8
* Move private helper function into the only .cpp file that uses it.Chris Lattner2005-02-131-18/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20169 91177308-0d34-0410-b5e6-96231b3b80d8