diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-11-19 12:13:24 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-11-19 17:58:38 +0200 |
| commit | 88e4d2c2918428d55e34cd57c11279ea839c8822 (patch) | |
| tree | c6efece096ff5880788ca52cdcfc75df16ad589a /src/test/codegen/packed.rs | |
| parent | b0812de556d81c17fcbd2613c6752fc4d04927bb (diff) | |
| download | rust-88e4d2c2918428d55e34cd57c11279ea839c8822.tar.gz rust-88e4d2c2918428d55e34cd57c11279ea839c8822.zip | |
rustc_trans: work around i686-pc-windows-msvc byval align LLVM bug.
Diffstat (limited to 'src/test/codegen/packed.rs')
| -rw-r--r-- | src/test/codegen/packed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/packed.rs b/src/test/codegen/packed.rs index 64e842b026e..dd530cf03cd 100644 --- a/src/test/codegen/packed.rs +++ b/src/test/codegen/packed.rs @@ -39,7 +39,7 @@ pub struct BigPacked { #[no_mangle] pub fn call_pkd(f: fn() -> Array) -> BigPacked { // CHECK: [[ALLOCA:%[_a-z0-9]+]] = alloca %Array -// CHECK: call void %{{.*}}(%Array* noalias nocapture sret align 4 dereferenceable(32) [[ALLOCA]]) +// CHECK: call void %{{.*}}(%Array* noalias nocapture sret dereferenceable(32) [[ALLOCA]]) // CHECK: call void @llvm.memcpy.{{.*}}(i8* %{{.*}}, i8* %{{.*}}, i{{[0-9]+}} 32, i32 1, i1 false) // check that calls whose destination is a field of a packed struct // go through an alloca rather than calling the function with an |
