Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit febb10d

Browse files
authored
Merge pull request #89173 from jckarter/generalize-specialize-int-test
Remove hardcoded integer bit width from test/SILOptimizer/specialize_by_integer_parameter.swift
2 parents 2ff1e4c + a8d3d1f commit febb10d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/SILOptimizer/specialize_by_integer_parameter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public struct Foo<let count: Int> {
55
// CHECK: [[PARAM_VAL:%.*]] = type_value $Int for count
66
// CHECK: [[SPEC_INT:%.*]] = integer_literal ${{.*}}, 3
77
// CHECK: [[PARAM_INT:%.*]] = struct_extract [[PARAM_VAL]], #Int._value
8-
// CHECK: builtin "cmp_eq_Int64"([[PARAM_INT]], [[SPEC_INT]])
8+
// CHECK: builtin "cmp_eq_Int{{.*}}"([[PARAM_INT]], [[SPEC_INT]])
99
@specialized(where count == 3)
1010
public func bar() -> Int {
1111
return count

0 commit comments

Comments
 (0)