about summary refs log tree commit diff
path: root/tests/codegen/intrinsics
AgeCommit message (Expand)AuthorLines
2025-01-17Update our range `assume`s to the format that LLVM prefersScott McMurray-55/+67
2025-01-05Expand the `select_unpredictable` test for ZSTsTrevor Gross-0/+5
2025-01-05Merge the intrinsic and user tests for `select_unpredictable`Trevor Gross-1/+33
2025-01-03Update carrying_mul_add test to tolerate `nuw`Matthew Maurer-2/+2
2024-12-30Auto merge of #134757 - RalfJung:const_swap, r=scottmcmbors-6/+6
2024-12-27Override `carrying_mul_add` in cg_llvmScott McMurray-0/+137
2024-12-25rename typed_swap → typed_swap_nonoverlappingRalf Jung-6/+6
2024-11-17Likely unlikely fixJiri Bobek-12/+90
2024-10-23Set `signext` or `zeroext` for integer arguments on RISC-VAsuna-4/+2
2024-09-04Don't codegen `expect` in opt-level=0clubby789-1/+1
2024-08-19Don't generate functions with the `rustc_intrinsic_must_be_overridden` attributeDianQK-0/+14
2024-08-12make the codegen test also cover an ill-behaved arch, and add linksRalf Jung-3/+12
2024-08-05nontemporal_store: make sure that the intrinsic is truly just a hintRalf Jung-2/+17
2024-07-30Auto merge of #128250 - Amanieu:select_unpredictable, r=nikicbors-0/+35
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+2
2024-07-28Force LLVM to use CMOV for binary searchAmanieu d'Antras-0/+35
2024-05-31Run rustfmt on `tests/codegen/`.Nicholas Nethercote-15/+12
2024-05-28Add an intrinsic for `ptr::metadata`Scott McMurray-0/+36
2024-05-16Fix ICE in non-operand `aggregate_raw_ptr` instrinsic codegenScott McMurray-0/+23
2024-04-24Fix tests and blessGary Guo-1/+0
2024-04-24Auto merge of #122053 - erikdesjardins:alloca, r=nikicbors-8/+8
2024-04-23Rollup merge of #124003 - WaffleLapkin:dellvmization, r=scottmcm,RalfJung,antoyoMatthias Krüger-0/+118
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+0
2024-04-16Add codegen tests for changed intrinsicsMaybe Waffle-0/+118
2024-04-11use [N x i8] for alloca typesErik Desjardins-8/+8
2024-04-02Auto merge of #118310 - scottmcm:three-way-compare, r=davidtwcobors-0/+47
2024-03-25Don't emit load metadata in debug modeclubby789-7/+6
2024-03-23Add+Use `mir::BinOp::Cmp`Scott McMurray-0/+47
2024-03-17Stop whining, tidyScott McMurray-0/+1
2024-03-17Let codegen decide when to `mem::swap` with immediatesScott McMurray-0/+77
2024-03-11Lower transmutes from int to pointer type as gep on nullBen Kimock-2/+2
2024-02-25Use generic `NonZero` in tests.Markus Reiter-3/+3
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-22/+22
2023-12-15Separate immediate and in-memory ScalarPair representationNikita Popov-5/+5
2023-08-06Add a new `compare_bytes` intrinsic instead of calling `memcmp` directlyScott McMurray-0/+34
2023-07-27CHECK only for opaque ptrJosh Stone-2/+2
2023-07-27Update the minimum external LLVM to 15Josh Stone-4/+0
2023-07-08Always name the return place.Camille GILLOT-61/+57
2023-05-31Add a distinct `OperandValue::ZeroSized` variant for ZSTsScott McMurray-4/+71
2023-04-27Also use `mir::Offset` for pointer `add`Scott McMurray-0/+34
2023-04-22Add `intrinsics::transmute_unchecked`Scott McMurray-33/+9
2023-04-13`assume` value ranges in `transmute`Scott McMurray-4/+188
2023-04-09Handle not all immediates having `abi::Scalar`sScott McMurray-1/+92
2023-04-06Check `CastKind::Transmute` sizes in a better wayScott McMurray-1/+73
2023-04-04Allow `transmute`s to produce `OperandValue`s instead of always using `alloca`sScott McMurray-23/+130
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-0/+196
2023-01-17Add more codegen testsNilstrieb-4/+5
2023-01-17Put `noundef` on all scalars that don't allow uninitNilstrieb-2/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+328