Commit Graph

7497 Commits

Author SHA1 Message Date
Chris Lattner 9cb8d7d0ac Targets now configure themselves with the module, not flags
llvm-svn: 8133
2003-08-24 19:50:12 +00:00
Chris Lattner 4fd144acc8 Targets should configure themselves based on a Module, not some wierd flags
llvm-svn: 8132
2003-08-24 19:49:48 +00:00
Chris Lattner 0a7b79cf85 Targets should configure themselves based on the module, not some wierd flags
llvm-svn: 8131
2003-08-24 19:49:07 +00:00
Chris Lattner 4f05103ad2 Fix bug: Linker/2003-08-23-GlobalVarLinking.ll
llvm-svn: 8130
2003-08-24 19:30:20 +00:00
Chris Lattner 3ba0f88a0a Implement: Linker/2003-08-24-InheritPtrSize.ll
llvm-svn: 8129
2003-08-24 19:26:42 +00:00
Chris Lattner 34c7cee778 New testcase
llvm-svn: 8128
2003-08-24 19:23:31 +00:00
Chris Lattner 2a3b4e5bc7 Implement: Jello/test-constantexpr.ll
llvm-svn: 8127
2003-08-24 19:19:47 +00:00
Chris Lattner 3f5823f131 Implement SimplifyCFG/InvokeEliminate.ll
llvm-svn: 8126
2003-08-24 18:36:16 +00:00
Chris Lattner 94be300fa5 New testcase
llvm-svn: 8125
2003-08-24 17:58:24 +00:00
Chris Lattner a2bc1139d5 Fix grammar
llvm-svn: 8124
2003-08-24 17:30:55 +00:00
Chris Lattner 479854091a Add preliminary support for "any" pointersize/endianness. This will need
to change soon though.

llvm-svn: 8123
2003-08-24 14:02:47 +00:00
Chris Lattner b149240096 Add support for modules with "any" pointersize/endianness
llvm-svn: 8122
2003-08-24 14:02:14 +00:00
Chris Lattner e34e200e16 Add support for 'any' pointer size and endianness
llvm-svn: 8120
2003-08-24 13:49:22 +00:00
Chris Lattner 8068e0cd17 Support new 'any' support for pointer size and endianness
llvm-svn: 8119
2003-08-24 13:48:48 +00:00
Chris Lattner 55a07adc36 Allow modules to have 'any' pointer size and endianness. Luckily, we had
some space for extra flags, so we don't need to bump the revision number.

llvm-svn: 8118
2003-08-24 13:47:36 +00:00
Chris Lattner fc5aa1c93c Allow modules to have 'any' pointer size and endianness.
llvm-svn: 8117
2003-08-24 13:46:37 +00:00
Chris Lattner 35829a154d Implement support for the unwind intrinsic in the CBE
llvm-svn: 8116
2003-08-24 13:06:10 +00:00
Chris Lattner 88b2fba6ee Fix grep
llvm-svn: 8114
2003-08-24 12:53:20 +00:00
Chris Lattner 19f4d936de New testcase
llvm-svn: 8113
2003-08-24 12:30:51 +00:00
Chris Lattner e0f78bb1b8 New testcase directory
llvm-svn: 8112
2003-08-24 12:27:53 +00:00
Chris Lattner 0f98032fd8 rethrow is really the language independent primitive here. "throw" can be written
in terms of it and llvm.exc.setcurrent.
Rework the intrinsics.

llvm-svn: 8111
2003-08-24 12:24:11 +00:00
Chris Lattner 7da3571af9 rethrow is really the language independent primitive here. "throw" can be written
in terms of it and llvm.exc.setcurrent.

Rework the intrinsics.

llvm-svn: 8110
2003-08-24 12:24:08 +00:00
Chris Lattner 0c5eaf7e84 rethrow is really the language independent primitive here. "throw" can be written
in terms of it and llvm.exc.setcurrent.

Rework these intrinsics.

llvm-svn: 8109
2003-08-24 12:24:03 +00:00
Chris Lattner 1853f284ed Fix typeos and add descriptions
llvm-svn: 8108
2003-08-24 12:16:58 +00:00
Chris Lattner d367d0553e Inline invoke instructions as well as call instructions
llvm-svn: 8107
2003-08-24 06:59:28 +00:00
Chris Lattner 0cc265e6bf *** Implement inlining of Invoke instructions!
llvm-svn: 8106
2003-08-24 06:59:16 +00:00
Chris Lattner 88e7d59316 Add versions of InlineFunction which work on Invoke instructions and general call sites
llvm-svn: 8105
2003-08-24 06:58:32 +00:00
Chris Lattner ca3e569269 Fix copy-and-paste-o
llvm-svn: 8104
2003-08-24 06:57:53 +00:00
Chris Lattner 0f12ef6289 New testcases for inlining invoke instructions
llvm-svn: 8103
2003-08-24 06:55:07 +00:00
Chris Lattner ade9410c99 Initial support for recognizing LLVM exception handling intrinsics
llvm-svn: 8102
2003-08-24 05:30:29 +00:00
Chris Lattner 9c5bfd0f80 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 1f71401180 New testcase
llvm-svn: 8100
2003-08-24 05:02:26 +00:00
Chris Lattner fc3fe5cd75 Implement: Inline/cfg_preserve_test.ll
llvm-svn: 8099
2003-08-24 04:06:56 +00:00
Chris Lattner 58dfca7d4a new testcase
llvm-svn: 8098
2003-08-24 04:06:04 +00:00
Chris Lattner 6d5693566f Allow specifying the name for the newly split basic block
llvm-svn: 8097
2003-08-24 03:41:39 +00:00
Chris Lattner 9fa8906009 New testcase, distilled from 176.gcc
llvm-svn: 8096
2003-08-24 00:21:50 +00:00
Chris Lattner e6235443a5 Fix bug: Jello/2003-08-23-RegisterAllocatePhysReg.ll
llvm-svn: 8095
2003-08-23 23:49:42 +00:00
Chris Lattner 3be2088ae7 new testcase distilled from 176.gcc
llvm-svn: 8094
2003-08-23 23:38:59 +00:00
Chris Lattner c54d608377 Implement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5
llvm-svn: 8093
2003-08-23 23:18:19 +00:00
Chris Lattner b42ef2dbdb Add a new switch folding testcase
llvm-svn: 8092
2003-08-23 23:17:59 +00:00
Chris Lattner a541e80b3c Add new label
llvm-svn: 8091
2003-08-23 23:16:37 +00:00
Chris Lattner 4f9247c937 Add period
llvm-svn: 8090
2003-08-23 23:15:10 +00:00
Chris Lattner 6a2b859191 Rename SwitchInst::dest_push_back -> addCase
llvm-svn: 8089
2003-08-23 23:14:52 +00:00
Chris Lattner 180e14cb87 Rename SwitchInst::dest_push_back -> addCase
Add new removeCase method

llvm-svn: 8088
2003-08-23 23:14:37 +00:00
Chris Lattner f1b1c5ec2f Fix bug: LowerSwitch/2003-08-23-EmptySwitch.ll
llvm-svn: 8087
2003-08-23 22:54:34 +00:00
Chris Lattner 1a6242154e New testcase
llvm-svn: 8086
2003-08-23 22:43:42 +00:00
Chris Lattner 10887b41c1 New testcase
llvm-svn: 8085
2003-08-23 22:09:26 +00:00
Chris Lattner 02da0ef418 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 f38c0483ba Fix bug: Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
llvm-svn: 8083
2003-08-23 21:25:54 +00:00
Chris Lattner 9b11f0515b New testcase, which causes the linker to segv.
llvm-svn: 8082
2003-08-23 21:13:26 +00:00