about summary refs log tree commit diff
path: root/src/test/mir-opt/lower_128bit_test.rs
AgeCommit message (Collapse)AuthorLines
2019-07-20Remove tests for -Zlower-128bit-opsbjorn3-149/+0
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-05Stabilize `min_const_fn`Oliver Schneider-2/+0
2018-08-31Restrict most uses of `const_fn` to `min_const_fn`Oliver Schneider-1/+1
2018-08-31Implement the `min_const_fn` feature gateOliver Schneider-95/+57
2018-07-09bump minimum LLVM version to 5.0gnzlbg-3/+0
2018-06-27Update MIR opt testsMatthew Jasper-8/+8
2018-03-26Stabilize i128_typeMark Mansi-1/+0
2017-12-19Fix -Z lower_128bit_ops handling of staticsScott McMurray-2/+122
Avoids ICEs such as the following: error: internal compiler error: src\librustc_metadata\cstore_impl.rs:131: get_optimized_mir: missing MIR for `DefId(8/0:40 ~ compiler_builtins[9532]::int[0]::addsub[0]::rust_i128_addo[0])`
2017-12-03Add an i128_lowering flag in TargetOptionsScott McMurray-1/+1
Not actually enabled by default anywhere yet.
2017-12-02Add ignore-emscripten tooScott McMurray-0/+1
2017-12-02Ignore the lower_128bit tests on asmjsScott McMurray-0/+4
2017-12-02Remove the unneeded #![feature(lang_items)]sScott McMurray-1/+0
2017-12-02Update compiler-builtins and use it the 128-bit lowering MIR testScott McMurray-45/+16
2017-11-28tests: update to include move annotations in MIR.Eduard-Mihai Burtescu-4/+4
2017-11-20Handle shifts properlyScott McMurray-8/+12
* The overflow-checking shift items need to take a full 128-bit type, since they need to be able to detect idiocy like `1i128 << (1u128 << 127)` * The unchecked ones just take u32, like the `*_sh?` methods in core * Because shift-by-anything is allowed, cast into a new local for every shift
2017-11-20Add type checking for the lang itemScott McMurray-10/+17
As part of doing so, add more lang items instead of passing u128 to the i128 ones where it doesn't matter in twos-complement.
2017-11-18Add a MIR pass to lower 128-bit operators to lang item callsScott McMurray-0/+97
Runs only with `-Z lower_128bit_ops` since it's not hooked into targets yet.