Chris Lattner
ae1c1ffacd
new testcase distilled from 176.gcc
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8094 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 23:38:59 +00:00
Chris Lattner
7d6c24cdbf
Implement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8093 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 23:18:19 +00:00
Chris Lattner
2231d5892b
Add a new switch folding testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8092 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 23:17:59 +00:00
Chris Lattner
f959c33a45
Add new label
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8091 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 23:16:37 +00:00
Chris Lattner
3acbd5d5d4
Add period
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8090 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 23:15:10 +00:00
Chris Lattner
4354f564c2
Rename SwitchInst::dest_push_back -> addCase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8089 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 23:14:52 +00:00
Chris Lattner
131d19f9c6
Rename SwitchInst::dest_push_back -> addCase
...
Add new removeCase method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8088 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 23:14:37 +00:00
Chris Lattner
44bb541c01
Fix bug: LowerSwitch/2003-08-23-EmptySwitch.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8087 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 22:54:34 +00:00
Chris Lattner
4d34adad67
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8086 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 22:43:42 +00:00
Chris Lattner
47ddea2d2a
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8085 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 22:09:26 +00:00
Chris Lattner
f44c6051e0
Do not consider any types that exist in the global symbol table!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8084 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 21:32:24 +00:00
Chris Lattner
e3092c94ad
Fix bug: Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8083 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 21:25:54 +00:00
Chris Lattner
8d8523b27a
New testcase, which causes the linker to segv.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8082 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 21:13:26 +00:00
Chris Lattner
c07ae39c3d
Ignore more
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8081 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 20:35:08 +00:00
Chris Lattner
fcd0234de6
Implement Linker/2003-08-23-GlobalVarLinking.ll, which should fix 176.gcc
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8080 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 20:31:10 +00:00
Chris Lattner
6f2ff7ecd5
Test functions as well as globals
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8079 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 20:30:29 +00:00
Chris Lattner
086cb002d2
Fix bug: TailDup/2003-08-23-InvalidatedPointers.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8078 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 20:08:30 +00:00
Chris Lattner
2d710ff7cf
Of course, the copy ctor really should copy the operand as well
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8077 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 20:06:38 +00:00
Chris Lattner
a0f85e56c9
Fix bug: FunctionResolve/2003-08-23-ArgumentWarning.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8076 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 20:03:05 +00:00
Chris Lattner
c4d360d1d4
new testcase: we warn if we are merging together two functions whose argument
...
types to not match, but we should not warn unless their _primitive_ types mismatch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8075 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 19:59:55 +00:00
Chris Lattner
8518e74f3e
Add more methods to be more value-like
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8074 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 19:51:10 +00:00
Chris Lattner
88e1eef1ed
Initial checkin of ValueHolder helper class
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8073 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 19:43:18 +00:00
Chris Lattner
f7c4acef99
Initial checkin of ValueHolder helper
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8072 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 19:43:16 +00:00
Chris Lattner
59bc1a7ad3
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8071 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 19:37:39 +00:00
Chris Lattner
72987eeafd
Fix typeo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8069 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 15:56:38 +00:00
Chris Lattner
2fa6c35d69
New testcase, which is basically the problem with 176.gcc
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8068 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 15:53:38 +00:00
Chris Lattner
b274d4a38b
Add missing #include
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8063 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 23:08:55 +00:00
Chris Lattner
9732be769e
Fix typeo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8059 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 20:16:48 +00:00
Chris Lattner
a2b2dc9795
add preliminary support for -export-dynamic
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8058 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 19:18:45 +00:00
Chris Lattner
43f4ba8c7d
The process of linking types can cause their addresses to become invalid. For this reason, we must use TypeHandles!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8057 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 19:12:55 +00:00
Chris Lattner
c28c1d3cd1
Kill warning
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8056 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 18:57:43 +00:00
Chris Lattner
31a6db0f2c
Changes to work better with GCC3.4/LLVM G++
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8054 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 14:26:59 +00:00
Chris Lattner
33ad24a096
Remove last remenants of cleandeps
...
Allow disabling generation of .d files for a whole directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8053 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 14:10:16 +00:00
Chris Lattner
b8586b74a5
Disable .d file generation for LLVM tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8052 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 14:09:46 +00:00
Chris Lattner
e76c57ad46
Implement Linker/2003-08-20-OpaqueTypeResolve.ll
...
Hopefully this will fix the 176.gcc spec test as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8051 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 06:07:12 +00:00
Chris Lattner
6c23f57ebc
Accept double quoted strings everwhere we accept a %ABC variable name.
...
This introduces one more innoculous shift-reduce conflict, but will REALLY
help the type names generated by the C++ frontend, which wants to use all
kinds of crazy stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8050 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 05:42:10 +00:00
Chris Lattner
24b8a5d6e7
If an "LLVM name" has wierd characters in it, print it out in double quotes instead of prefixing it with %
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8049 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 05:40:38 +00:00
Chris Lattner
bcaf286f55
New testcase for non-simple variable and type names
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8048 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 05:40:04 +00:00
Chris Lattner
7d4d892e14
Ugh, really fix it now... :(
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8047 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 05:22:13 +00:00
Chris Lattner
f0f463eb63
Fix computation of LLVM_OBJ_ROOT for non-projects :(
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8046 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 05:18:49 +00:00
Chris Lattner
da228ef560
Remove name, add body. Causes llvmg++ segfault!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8045 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 04:36:12 +00:00
Chris Lattner
3bb49fbd27
add comment
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8044 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 04:31:24 +00:00
Chris Lattner
d60770dc25
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8043 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 04:13:13 +00:00
Misha Brukman
79063d6c4b
Squash the warning that `Result' may not be initialized on all code paths.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8042 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 03:35:24 +00:00
Chris Lattner
9534acbf77
Initial checkin
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8039 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 22:33:59 +00:00
Chris Lattner
8ca0eebe4e
Initial checkin of ModuleMaker project
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8036 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 22:29:52 +00:00
Chris Lattner
56e4fa4565
Include the top-level Makefile.config from the LLVM tree for projects
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8035 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 22:28:46 +00:00
Chris Lattner
e430a1eefb
Projects no longer need to specify LLVM_OBJ_ROOT. Also, for the prdirs target, don't let make print out all of the echo commands before the echos get echo'd
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8034 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 22:23:49 +00:00
Chris Lattner
c137b3043f
Remove commented out declaration
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8032 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 22:22:24 +00:00
Misha Brukman
318efded12
The word dependence' has no
a'.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8031 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 22:14:57 +00:00