diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-04-16 20:03:13 +0200 |
|---|---|---|
| committer | Jonas Schievink <jonasschievink@gmail.com> | 2020-04-20 21:18:20 +0200 |
| commit | a5c1851607c10a09eaed4ec00df33b333f470429 (patch) | |
| tree | 47189c601a3f4f53f70c476fa63c5e12606ea3b6 /src/test/codegen | |
| parent | c5bfbb6ad15576e423d742fe7b868b35cca9cbf4 (diff) | |
| download | rust-a5c1851607c10a09eaed4ec00df33b333f470429.tar.gz rust-a5c1851607c10a09eaed4ec00df33b333f470429.zip | |
Fix codegen and mir-opt tests
Mostly renamed allocations, but I'm not sure about the const prop tests
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/consts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/consts.rs b/src/test/codegen/consts.rs index e53e75b339b..ed93af2f993 100644 --- a/src/test/codegen/consts.rs +++ b/src/test/codegen/consts.rs @@ -10,11 +10,11 @@ // CHECK: @STATIC = {{.*}}, align 4 // This checks the constants from inline_enum_const -// CHECK: @alloc5 = {{.*}}, align 2 +// CHECK: @alloc7 = {{.*}}, align 2 // This checks the constants from {low,high}_align_const, they share the same // constant, but the alignment differs, so the higher one should be used -// CHECK: [[LOW_HIGH:@[0-9]+]] = {{.*}} getelementptr inbounds (<{ [8 x i8] }>, <{ [8 x i8] }>* @alloc15, i32 0, i32 0, i32 0), {{.*}} +// CHECK: [[LOW_HIGH:@[0-9]+]] = {{.*}} getelementptr inbounds (<{ [8 x i8] }>, <{ [8 x i8] }>* @alloc19, i32 0, i32 0, i32 0), {{.*}} #[derive(Copy, Clone)] // repr(i16) is required for the {low,high}_align_const test |
