aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt
AgeCommit message (Expand)Author
2011-01-19Add unnamed_addr when we can show that address of a global is not used.Rafael Espindola
2011-01-16Reduce and merge testcases.Owen Anderson
2011-01-16Improve the safety of my globalopt enhancement by ensuring that the bitcastOwen Anderson
2011-01-01fix a globalopt crash on two Adobe-C++ testcases that the recentChris Lattner
2010-12-07reapply r121100 with a tweak to constant fold ConstExprs with TargetDataChris Lattner
2010-12-07Temporarily revert r121100 as it's causing clang to failEric Christopher
2010-12-07fix PR8710 - teach global opt that some constantexprs are too complex toChris Lattner
2010-10-19GlobalOpt: EvaluateFunction() must not evaluate stores to weak_odr globals.Mikhail Glushenkov
2010-09-17Fix this test to avoid an "inexact" fold.Dan Gohman
2010-09-05fix PR8063, a crash in globalopt in the malloc analysis code.Chris Lattner
2010-09-02more test cleanupChris Lattner
2010-05-04Use llvm.foo as the intrinsic, rather than llvm.dbg.value. Since theDuncan Sands
2010-05-04Fix a variant of PR6112 found by thinking about it: when doingDuncan Sands
2010-04-28fix this to work with objdir != srcdirChris Lattner
2010-04-28fix PR6112 - When globalopt (or any other pass) does RAUW(@G, %G), Chris Lattner
2010-04-14Trim tests and convert to FileCheck.Evan Cheng
2010-04-10fix PR6760, a missing check in heap SRoA.Chris Lattner
2010-04-02Revert the recent alignment changes. They're broken for -Os because,Dan Gohman
2010-04-02Make globalopt refine global variable alignment.Dan Gohman
2010-03-01@llvm.dbg.stoppoint intrinsic is not used anymore.Devang Patel
2010-03-01Update to use new debug info encoding scheme. As a bonus, now the test passes!Devang Patel
2010-03-01Remove this test because it checks wheter optimizer handled @llvm.dbg.global_...Devang Patel
2010-02-26fix PR6435 another bug from the MallocInst elimination work.Chris Lattner
2010-02-26this file lacks a run line!Chris Lattner
2010-02-25rewrite OptimizeGlobalAddressOfMalloc to fix PR6422, some bugsChris Lattner
2010-01-07fix a globalopt crash on 'bullet' (handling evaluation of a storeChris Lattner
2010-01-05Delete useless trailing semicolons.Dan Gohman
2009-12-30fix two bogus tests that the asmparser now rejects.Chris Lattner
2009-12-08Teach GlobalOpt to delete aliases with internal linkage (afterDuncan Sands
2009-11-23Make ConstantFoldConstantExpression recursively visit the entireDan Gohman
2009-11-07Re-commit r86077 now that r86290 fixes the 179.art and 175.vpr ARM regressions.Victor Hernandez
2009-11-06Revert r86077 because it caused crashes in 179.art and 175.vpr on ARMVictor Hernandez
2009-11-05Update CreateMalloc so that its callers specify the size to allocate:Victor Hernandez
2009-11-03Make opt default to not adding a target data string and update tests that dep...Kenneth Uildriks
2009-10-28Extend getMallocArraySize() to determine the array size if the malloc argumen...Victor Hernandez
2009-10-17Autoupgrade malloc insts to malloc calls.Victor Hernandez
2009-10-16HeapAllocSRoA also needs to check if malloc array size can be computed.Victor Hernandez
2009-10-16Invert isSafeToGetMallocArraySize check because we return NULL when we don't ...Victor Hernandez
2009-09-25Revert 82694 "Auto-upgrade malloc instructions to malloc calls." because it c...Victor Hernandez
2009-09-24Auto-upgrade malloc instructions to malloc calls.Victor Hernandez
2009-09-11Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman
2009-09-08Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman
2009-09-08Change these tests to feed the assembly files to opt directly, insteadDan Gohman
2009-09-07Add a testcase for the GlobalOpt inbounds fix.Dan Gohman
2009-09-07Add inbounds to these getelementptrs, now that GlobalOpt requires this,Dan Gohman
2009-08-18Fix a bug that caused globalopt to miscompile tramp3d: don't missDan Gohman
2009-06-04Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman
2009-06-02Avoid infinite looping in AllGlobalLoadUsesSimpleEnoughForHeapSRA(). This can...Evan Cheng
2009-03-09Ignore debug info while evaluating function.Devang Patel
2009-03-07fix a serious pessimization that Tron on IRC pointed out where we wouldChris Lattner