Enable GVN by default.
This commit is contained in:
parent
08cc634f1a
commit
a03c972816
35 changed files with 389 additions and 534 deletions
|
@ -19,5 +19,3 @@ pub fn outer_function(x: S, y: S) -> usize {
|
|||
// CHECK-NOT: [[ptr_tmp:%.*]] = getelementptr inbounds %"{closure@{{.*.rs}}:9:23: 9:25}", ptr [[spill]]
|
||||
// CHECK-NOT: [[load:%.*]] = load ptr, ptr
|
||||
// CHECK: call void @llvm.lifetime.start{{.*}}({{.*}}, ptr [[spill]])
|
||||
// CHECK: [[inner:%.*]] = getelementptr inbounds %"{{.*}}", ptr [[spill]]
|
||||
// CHECK: call void @llvm.memcpy{{.*}}(ptr {{align .*}} [[inner]], ptr {{align .*}} %x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue