We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca927dc commit 0e95c75Copy full SHA for 0e95c75
benchmark/cxx-source/CxxVectorSum.swift
@@ -82,8 +82,10 @@ public func run_CxxVectorOfU32_Sum_Swift_RawIteratorLoop(_ n: Int) {
82
blackHole(sum)
83
}
84
85
+// Need to wait for https://github.com/apple/swift/issues/61499
86
@inline(never)
87
public func run_CxxVectorOfU32_Sum_Swift_IndexAndSubscriptLoop(_ n: Int) {
88
+#if FIXED_61499
89
let vectorOfU32 = makeVector32(vectorSize)
90
var sum: UInt32 = 0
91
for _ in 0..<(n * iterRepeatFactor) {
@@ -92,6 +94,9 @@ public func run_CxxVectorOfU32_Sum_Swift_IndexAndSubscriptLoop(_ n: Int) {
92
94
93
95
96
97
+#else
98
+ run_CxxVectorOfU32_Sum_Swift_RawIteratorLoop(n)
99
+#endif
100
101
102
0 commit comments