test: loosen the overly-restrictive test

The types may be emitted in a different order.  Be more permissive about
ordering.
This commit is contained in:
Saleem Abdulrasool
2020-02-27 20:55:33 -08:00
parent 631555aa01
commit 40e91a8528

View File

@@ -2,10 +2,10 @@
// REQUIRES: CPU=x86_64 // REQUIRES: CPU=x86_64
// CHECK: [[C:%T7unowned1CC]] = type <{ [[REF:%swift.refcounted]] }> // CHECK-DAG: [[TYPE:%swift.type]] = type
// CHECK: [[TYPE:%swift.type]] = type // CHECK-DAG: [[C:%T7unowned1CC]] = type <{ [[REF:%swift.refcounted]] }>
// CHECK: [[OPAQUE:%swift.opaque]] = type opaque // CHECK-DAG: [[OPAQUE:%swift.opaque]] = type opaque
// CHECK: [[A:%T7unowned1AV]] = type <{ %swift.unowned }> // CHECK-DAG: [[A:%T7unowned1AV]] = type <{ %swift.unowned }>
import Builtin import Builtin