diff options
| author | Samuel Holland <samuel@sholland.org> | 2019-09-02 22:09:15 -0500 |
|---|---|---|
| committer | Samuel Holland <samuel@sholland.org> | 2019-09-09 21:05:52 -0500 |
| commit | 2f6e73cb07edc21b1243b270e3e77faf51fcb4e4 (patch) | |
| tree | d5e9ddaf710448d547337231c87a281da8874eb6 /src/libsyntax/parse/parser | |
| parent | ef54f57c5b9d894a38179d09b00610c1b337b086 (diff) | |
| download | rust-2f6e73cb07edc21b1243b270e3e77faf51fcb4e4.tar.gz rust-2f6e73cb07edc21b1243b270e3e77faf51fcb4e4.zip | |
test/c-variadic: Fix patterns on powerpc64
On architectures such as powerpc64 that use extend_integer_width_to in their C ABI processing, integer parameters shorter than the native register width will be annotated with the ArgAttribute::SExt or ArgAttribute::ZExt attribute, and that attribute will be included in the generated LLVM IR. In this test, all relevant parameters are `i32`, which will get the `signext` annotation on the relevant 64-bit architectures. Match both the annotated and non-annotated case, but enforce that the annotation is applied consistently.
Diffstat (limited to 'src/libsyntax/parse/parser')
0 files changed, 0 insertions, 0 deletions
