about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/instcombine.rs
AgeCommit message (Expand)AuthorLines
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-3/+4
2021-03-05Shrink the size of Rvalue by 16 bytesOli Scherer-1/+1
2021-01-18Combine instructions immediatelyTomasz Miąsko-147/+79
2021-01-18Remove disabled transformation from instcombineTomasz Miąsko-142/+3
2021-01-16Use PlaceRef more consistently in rustc_mirOlivia Crain-4/+2
2020-12-29Auto merge of #79084 - simonvandel:instcombine-perf, r=oli-obkbors-4/+24
2020-12-28use exhaustive pattern match to prevent future bugsSimon Vandel Sillesen-4/+13
2020-11-18move fuel checks to later points in instcombine and const_prop, add opt level...cjkenn-14/+21
2020-11-16add optimization fuel checks to some mir passescjkenn-0/+7
2020-11-15Only go through the body if something can be optimizedSimon Vandel Sillesen-2/+13
2020-11-15Do not call super_rvalue if not neededSimon Vandel Sillesen-2/+2
2020-10-27Disable "optimization to avoid load of address" in InstCombineJonas Schievink-0/+5
2020-10-22Check which places are deadSimon Vandel Sillesen-6/+14
2020-10-21Disable "optimization to avoid load of address" in InstCombineTomasz Miąsko-0/+5
2020-10-04Remember the `MirSource` for each `Body`Dylan MacKenzie-2/+2
2020-09-21Add optimization to avoid load of addressSimon Vandel Sillesen-2/+115
2020-09-15fix a couple of stylistic clippy warningsMatthias Krüger-1/+1
2020-09-06Generalize to Eq(true, _place) and Eq(_place, true)Simon Vandel Sillesen-15/+30
2020-09-06Add peephold optimization that simplifies Ne(_1, false) and Ne(false, _1) int...Simon Vandel Sillesen-1/+36
2020-09-04Change ty.kind to a methodLeSeulArtichaut-2/+2
2020-08-30mv compiler to compiler/mark-0/+117