Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ff1e4c + a8d3d1f commit febb10dCopy full SHA for febb10d
1 file changed
test/SILOptimizer/specialize_by_integer_parameter.swift
@@ -5,7 +5,7 @@ public struct Foo<let count: Int> {
5
// CHECK: [[PARAM_VAL:%.*]] = type_value $Int for count
6
// CHECK: [[SPEC_INT:%.*]] = integer_literal ${{.*}}, 3
7
// CHECK: [[PARAM_INT:%.*]] = struct_extract [[PARAM_VAL]], #Int._value
8
- // CHECK: builtin "cmp_eq_Int64"([[PARAM_INT]], [[SPEC_INT]])
+ // CHECK: builtin "cmp_eq_Int{{.*}}"([[PARAM_INT]], [[SPEC_INT]])
9
@specialized(where count == 3)
10
public func bar() -> Int {
11
return count
0 commit comments