aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt
AgeCommit message (Expand)Author
2013-03-09Fix test case.Benjamin Kramer
2013-03-09Test case hygiene.Benjamin Kramer
2013-03-08Disable statistics on Release builds and move tests that depend on -stats.Jan Wen Voung
2013-02-05Added missing newline to end of test case.Michael Gottesman
2013-02-05Add code to GlobalVariable.h so that global variables marked asMichael Gottesman
2013-01-10Fix TryToShrinkGlobalToBoolean in GlobalOpt, so that it does not discard addr...Joey Gouly
2013-01-01Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko
2012-12-30Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko
2012-12-30Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko
2012-12-01Revert previous check in r168581, r169079 as they are still in code review st...Zhou Sheng
2012-12-01The patch is to improve the memory footprint of pass GlobalOpt. Zhou Sheng
2012-11-16Constant::IsThreadDependent(): Use dyn_cast<Constant> instead of castHans Wennborg
2012-11-15Make GlobalOpt be conservative with TLS variables (PR14309)Hans Wennborg
2012-09-28GlobalOpt: non-constexpr bitcasts or GEPs can occur even if the global value ...Benjamin Kramer
2012-07-29Add testcases for GlobalOpt changes in r160693 and r160757.Nick Lewycky
2012-07-24Teach globalopt to not nuke all stores to globals. Keep them around of theyNick Lewycky
2012-07-21Revert r160602.Nick Lewycky
2012-07-21Teach globalopt to play nice with leak checkers. This is a reapplication ofNick Lewycky
2012-07-19Revert r160529 due to crashes.Nick Lewycky
2012-07-19Don't wipe out global variables that are probably storing pointers to heapNick Lewycky
2012-07-02GlobalOpt forgot to handle bitcast when analyzing globals. Found by inspection.Duncan Sands
2012-07-02Convert the uses of '|&' to use '2>&1 |' instead, which works on oldChandler Carruth
2012-07-02Convert all tests using TCL-style quoting to use shell-style quoting.Chandler Carruth
2012-06-27Revert r159136 due to PR13124.Matt Beaumont-Gay
2012-06-25If a constant or a function has linkonce_odr linkage and unnamed_addr, mark itRafael Espindola
2012-06-15Some optimizations done by globalopt are safe only for internal linkage, notRafael Espindola
2012-06-14Implement the isSafeToDiscardIfUnused predicate and use it in globalopt andRafael Espindola
2012-05-12Teach Function::hasAddressTaken that BlockAddress doesn't really takeJay Foad
2012-04-24Fix a crash on valid (if UB) bitcode that is produced for some globalChandler Carruth
2012-03-28GlobalOpt: If we have an inbounds GEP from a ConstantAggregateZero global tha...Benjamin Kramer
2012-03-13Teach globalopt how to evaluate an invoke with a non-void return type.Dan Gohman
2012-02-21Use the target-aware constant folder on expressions to improve the chanceNick Lewycky
2012-02-20Check for the correct size in the invariant marker.Nick Lewycky
2012-02-17Remove question.Nick Lewycky
2012-02-17Add support for invariant.start inside the static constructor evaluator. This isNick Lewycky
2012-02-16Replace all instances of dg.exp file with lit.local.cfg, since all tests are ...Eli Bendersky
2012-02-09GlobalOpt: Be more aggressive about elminating side-effect free static dtors.Benjamin Kramer
2012-02-05Teach GlobalOpt to handle atomic accesses to globals.Nick Lewycky
2012-01-05PR11705, part 2: globalopt shouldn't put inttoptr/ptrtoint operations into gl...Eli Friedman
2011-11-27remove autoupgrade support for old forms of llvm.prefetch and the oldChris Lattner
2011-11-27Upgrade syntax of tests using volatile instructions to use 'load volatile' in...Chris Lattner
2011-10-20Refactor code from inlining and globalopt that checks whether a function defi...Eli Friedman
2011-08-12Move "atomic" and "volatile" designations on instructions after the opcodeEli Friedman
2011-07-09Land the long talked about "type system rewrite" patch. ThisChris Lattner
2011-06-18rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which isChris Lattner
2011-06-17manually upgrade a bunch of tests to modern syntax, and remove some thatChris Lattner
2011-05-29Add testcase for r132290, to check for the crasher caught by the buildbotsNick Lewycky
2011-05-29Obey the isVolatile bit on memory intrinsics when analyzing uses of a globalNick Lewycky
2011-05-22fix PR9856, an incorrectly conservative assertion: a global can beChris Lattner
2011-04-09Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman