1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
Commit Graph

7469 Commits

Author SHA1 Message Date
Chris Lattner
c8c0b12fc3 New testcases for inlining invoke instructions
llvm-svn: 8103
2003-08-24 06:55:07 +00:00
Chris Lattner
6fe728600d Initial support for recognizing LLVM exception handling intrinsics
llvm-svn: 8102
2003-08-24 05:30:29 +00:00
Chris Lattner
5159ae0f96 Big diff for a small change: delete inlined functions if all callees have
inlined the function.
Implements: Inline/inline_dce.ll

llvm-svn: 8101
2003-08-24 05:03:14 +00:00
Chris Lattner
e5e5778d06 New testcase
llvm-svn: 8100
2003-08-24 05:02:26 +00:00
Chris Lattner
b3db526a4f Implement: Inline/cfg_preserve_test.ll
llvm-svn: 8099
2003-08-24 04:06:56 +00:00
Chris Lattner
791309f4af new testcase
llvm-svn: 8098
2003-08-24 04:06:04 +00:00
Chris Lattner
851a6f8d37 Allow specifying the name for the newly split basic block
llvm-svn: 8097
2003-08-24 03:41:39 +00:00
Chris Lattner
7e200cfaee New testcase, distilled from 176.gcc
llvm-svn: 8096
2003-08-24 00:21:50 +00:00
Chris Lattner
82e85c8c5f Fix bug: Jello/2003-08-23-RegisterAllocatePhysReg.ll
llvm-svn: 8095
2003-08-23 23:49:42 +00:00
Chris Lattner
25fcf5681d new testcase distilled from 176.gcc
llvm-svn: 8094
2003-08-23 23:38:59 +00:00
Chris Lattner
c499f5486f Implement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5
llvm-svn: 8093
2003-08-23 23:18:19 +00:00
Chris Lattner
1e40de654b Add a new switch folding testcase
llvm-svn: 8092
2003-08-23 23:17:59 +00:00
Chris Lattner
4e512e2ac4 Add new label
llvm-svn: 8091
2003-08-23 23:16:37 +00:00
Chris Lattner
028e23f032 Add period
llvm-svn: 8090
2003-08-23 23:15:10 +00:00
Chris Lattner
f35db86ae4 Rename SwitchInst::dest_push_back -> addCase
llvm-svn: 8089
2003-08-23 23:14:52 +00:00
Chris Lattner
367cef7b75 Rename SwitchInst::dest_push_back -> addCase
Add new removeCase method

llvm-svn: 8088
2003-08-23 23:14:37 +00:00
Chris Lattner
aa004bbc69 Fix bug: LowerSwitch/2003-08-23-EmptySwitch.ll
llvm-svn: 8087
2003-08-23 22:54:34 +00:00
Chris Lattner
7d51f90850 New testcase
llvm-svn: 8086
2003-08-23 22:43:42 +00:00
Chris Lattner
6c1d52a194 New testcase
llvm-svn: 8085
2003-08-23 22:09:26 +00:00
Chris Lattner
9274d2d21a Do not consider any types that exist in the global symbol table!
llvm-svn: 8084
2003-08-23 21:32:24 +00:00
Chris Lattner
c94a7e8904 Fix bug: Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
llvm-svn: 8083
2003-08-23 21:25:54 +00:00
Chris Lattner
3efea5202a New testcase, which causes the linker to segv.
llvm-svn: 8082
2003-08-23 21:13:26 +00:00
Chris Lattner
b3404105ee Ignore more
llvm-svn: 8081
2003-08-23 20:35:08 +00:00
Chris Lattner
f063146af6 Implement Linker/2003-08-23-GlobalVarLinking.ll, which should fix 176.gcc
llvm-svn: 8080
2003-08-23 20:31:10 +00:00
Chris Lattner
1f3e16fc21 Test functions as well as globals
llvm-svn: 8079
2003-08-23 20:30:29 +00:00
Chris Lattner
4d5a165218 Fix bug: TailDup/2003-08-23-InvalidatedPointers.ll
llvm-svn: 8078
2003-08-23 20:08:30 +00:00
Chris Lattner
035a14e67f Of course, the copy ctor really should copy the operand as well
llvm-svn: 8077
2003-08-23 20:06:38 +00:00
Chris Lattner
705fb5f473 Fix bug: FunctionResolve/2003-08-23-ArgumentWarning.ll
llvm-svn: 8076
2003-08-23 20:03:05 +00:00
Chris Lattner
0fc9c70b99 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

llvm-svn: 8075
2003-08-23 19:59:55 +00:00
Chris Lattner
2e682be3b2 Add more methods to be more value-like
llvm-svn: 8074
2003-08-23 19:51:10 +00:00
Chris Lattner
9b93eff8bb Initial checkin of ValueHolder helper class
llvm-svn: 8073
2003-08-23 19:43:18 +00:00
Chris Lattner
b7d216cd2f Initial checkin of ValueHolder helper
llvm-svn: 8072
2003-08-23 19:43:16 +00:00
Chris Lattner
11eecd3d03 New testcase
llvm-svn: 8071
2003-08-23 19:37:39 +00:00
Chris Lattner
3984e3eac5 Fix typeo
llvm-svn: 8069
2003-08-23 15:56:38 +00:00
Chris Lattner
b42affb224 New testcase, which is basically the problem with 176.gcc
llvm-svn: 8068
2003-08-23 15:53:38 +00:00
Chris Lattner
8e9740071f Add missing #include
llvm-svn: 8063
2003-08-22 23:08:55 +00:00
Chris Lattner
d6bf205b7d Fix typeo
llvm-svn: 8059
2003-08-22 20:16:48 +00:00
Chris Lattner
2f00b4ed63 add preliminary support for -export-dynamic
llvm-svn: 8058
2003-08-22 19:18:45 +00:00
Chris Lattner
fafb0d5a3c The process of linking types can cause their addresses to become invalid. For this reason, we must use TypeHandles!
llvm-svn: 8057
2003-08-22 19:12:55 +00:00
Chris Lattner
ac65cd51a4 Kill warning
llvm-svn: 8056
2003-08-22 18:57:43 +00:00
Chris Lattner
805dd2d1d7 Changes to work better with GCC3.4/LLVM G++
llvm-svn: 8054
2003-08-22 14:26:59 +00:00
Chris Lattner
277f72713c Remove last remenants of cleandeps
Allow disabling generation of .d files for a whole directory

llvm-svn: 8053
2003-08-22 14:10:16 +00:00
Chris Lattner
3c346cb78a Disable .d file generation for LLVM tests
llvm-svn: 8052
2003-08-22 14:09:46 +00:00
Chris Lattner
b382d33401 Implement Linker/2003-08-20-OpaqueTypeResolve.ll
Hopefully this will fix the 176.gcc spec test as well.

llvm-svn: 8051
2003-08-22 06:07:12 +00:00
Chris Lattner
9a709fd181 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.

llvm-svn: 8050
2003-08-22 05:42:10 +00:00
Chris Lattner
7cdcd38942 If an "LLVM name" has wierd characters in it, print it out in double quotes instead of prefixing it with %
llvm-svn: 8049
2003-08-22 05:40:38 +00:00
Chris Lattner
327089b9da New testcase for non-simple variable and type names
llvm-svn: 8048
2003-08-22 05:40:04 +00:00
Chris Lattner
e63f08044c Ugh, really fix it now... :(
llvm-svn: 8047
2003-08-22 05:22:13 +00:00
Chris Lattner
0ac32902d8 Fix computation of LLVM_OBJ_ROOT for non-projects :(
llvm-svn: 8046
2003-08-22 05:18:49 +00:00
Chris Lattner
01800ef0ae Remove name, add body. Causes llvmg++ segfault!
llvm-svn: 8045
2003-08-22 04:36:12 +00:00