tests: convert about 400 tests to the new mangling by using the -new-mangling-for-tests option

When the new mangling is enabled permanently, the option can be removed from the RUN command lines again.
This commit is contained in:
Erik Eckstein
2017-01-24 11:04:46 -08:00
parent 4d00ac1bba
commit 1d3724666f
452 changed files with 5653 additions and 5652 deletions

View File

@@ -1,13 +1,13 @@
// RUN: %target-swift-frontend -primary-file %s -emit-ir -g -o - | %FileCheck %s
// RUN: %target-swift-frontend %s -emit-sil -g -o - | %FileCheck -check-prefix=CHECK-SIL %s
// RUN: %target-swift-frontend -Xllvm -new-mangling-for-tests -primary-file %s -emit-ir -g -o - | %FileCheck %s
// RUN: %target-swift-frontend -Xllvm -new-mangling-for-tests %s -emit-sil -g -o - | %FileCheck -check-prefix=CHECK-SIL %s
// Verify that -Onone shadow copies are emitted for debug_value_addr
// instructions.
// CHECK-SIL: sil hidden @_TF16debug_value_addr4testurFxT_
// CHECK-SIL: sil hidden @_T016debug_value_addr4testyxlF
// CHECK-SIL: debug_value_addr %0 : $*T, let, name "t"
// CHECK: define {{.*}}_TF16debug_value_addr4testurFxT_
// CHECK: define {{.*}}_T016debug_value_addr4testyxlF
// CHECK: entry:
// CHECK-NEXT: %[[TADDR:.*]] = alloca
// CHECK: store %swift.opaque* %0, %swift.opaque** %[[TADDR:.*]], align