llvm-6502/test/Transforms/GlobalOpt
Duncan Sands fc5940d2a0 While thinking about the one-definition-rule and trying
to find a tiny mouse hole to squeeze through, it struck
me that globals without a name can be considered internal
since they can't be referenced from outside the current
module.  This patch makes GlobalOpt give them internal
linkage.  Also done for aliases even though they always
have names, since in my opinion anonymous aliases should
be allowed for consistency with global variables and
functions.  So if that happens one day, this code is ready!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66267 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 10:21:56 +00:00
..
2004-10-10-CastStoreOnce.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
2005-06-15-LocalizeConstExprCrash.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2005-09-27-Crash.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2006-07-07-InlineAsmCrash.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2006-11-01-ShrinkGlobalPhiCrash.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2007-04-05-Crash.ll For PR1553: 2007-07-19 23:13:04 +00:00
2007-05-13-Crash.ll this crashes globalopt 2007-05-13 21:28:25 +00:00
2007-06-04-PackedStruct.ll new testcase for PR1491 2007-06-04 22:23:17 +00:00
2007-11-09-GEP-GEP-Crash.ll Tighten up a check for folding away loads from (newly constant) globals. This 2007-11-09 17:33:02 +00:00
2008-01-03-Crash.ll Fix PR1896 2008-01-04 05:04:53 +00:00
2008-01-13-OutOfRangeSROA.ll Fix the miscompilation of MiBench/consumer-lame that was exposed by Evan's 2008-01-14 02:09:12 +00:00
2008-01-29-VolatileGlobal.ll Don't let globalopt hack on volatile loads or stores. 2008-01-29 19:01:37 +00:00
2008-02-16-NestAttr.ll Remove any 'nest' parameter attributes if the function 2008-02-16 20:56:04 +00:00
2008-04-26-SROA-Global-Align.ll When SRoA'ing a global variable, make sure the new globals get the 2008-04-26 07:40:11 +00:00
2008-07-17-addrspace.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
2008-12-16-HeapSRACrash-2.ll Fix another crash found by inspection. If we have a PHI node merging 2008-12-16 21:24:51 +00:00
2008-12-16-HeapSRACrash.ll fix a crash found by inspection. 2008-12-16 21:04:51 +00:00
2009-01-13-phi-user.ll rewrite OptimizeAwayTrappingUsesOfLoads to 1) avoid a temporary 2009-01-14 00:12:58 +00:00
2009-02-15-BitcastAlias.ll If the target of an alias has internal linkage, then the 2009-02-15 09:56:08 +00:00
2009-02-15-ResolveAlias.ll If the target of an alias has internal linkage, then the 2009-02-15 09:56:08 +00:00
2009-03-03-dbg.ll Revert rev. 66167. 2009-03-06 01:37:41 +00:00
2009-03-05-dbg.ll Revert 66224. 2009-03-06 01:39:36 +00:00
2009-03-06-Anonymous.ll While thinking about the one-definition-rule and trying 2009-03-06 10:21:56 +00:00
alias-resolve.ll Resolve aliases, when possible 2008-09-09 19:04:59 +00:00
basictest.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
constantexpr-dangle.ll For PR1319: 2007-04-15 08:30:33 +00:00
ctor-list-opt.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
deadglobal-2.ll upgrade test 2007-11-13 21:42:48 +00:00
deadglobal.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
globalsra-partial.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
globalsra.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
heap-sra-1.ll add a basic test for heap-sra 2008-12-15 19:42:05 +00:00
heap-sra-2.ll fix a crash found by inspection. 2008-12-16 21:04:51 +00:00
heap-sra-phi.ll Enhance heap sra to be substantially more aggressive w.r.t PHI 2008-12-17 05:28:49 +00:00
integer-bool.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
iterate.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
load-store-global.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
malloc-promote-1.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
malloc-promote-2.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
malloc-promote-3.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
memcpy.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
memset.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
phi-select.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
storepointer-compare.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
storepointer.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
trivialstore.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
undef-init.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00