@@ -131,9 +131,6 @@ class IRAttributesSpec : XCTestCase {
131
131
XCTAssertEqual ( enumAttr. value, value)
132
132
XCTAssert ( fn. attributes ( at: . function) . contains { $0. asLLVM ( ) == enumAttr. asLLVM ( ) } )
133
133
134
- // FIXME: Remove when LLVM 7.0.0 is released.
135
- guard value == 0 else { continue }
136
-
137
134
fn. removeAttribute ( enumAttr, from: . function)
138
135
XCTAssertFalse ( fn. attributes ( at: . function) . contains { $0. asLLVM ( ) == enumAttr. asLLVM ( ) } )
139
136
@@ -195,9 +192,6 @@ class IRAttributesSpec : XCTestCase {
195
192
XCTAssertEqual ( enumAttr. value, value)
196
193
XCTAssert ( fn. attributes ( at: . returnValue) . contains { $0. asLLVM ( ) == enumAttr. asLLVM ( ) } )
197
194
198
- // FIXME: Remove when LLVM 7.0.0 is released.
199
- guard value == 0 else { continue }
200
-
201
195
fn. removeAttribute ( enumAttr, from: . returnValue)
202
196
XCTAssertFalse ( fn. attributes ( at: . returnValue) . contains { $0. asLLVM ( ) == enumAttr. asLLVM ( ) } )
203
197
@@ -211,9 +205,6 @@ class IRAttributesSpec : XCTestCase {
211
205
XCTAssertEqual ( enumAttr. value, value)
212
206
XCTAssert ( fn. attributes ( at: . argument( 0 ) ) . contains { $0. asLLVM ( ) == enumAttr. asLLVM ( ) } )
213
207
214
- // FIXME: Remove when LLVM 7.0.0 is released.
215
- guard value == 0 else { continue }
216
-
217
208
fn. removeAttribute ( enumAttr, from: . argument( 0 ) )
218
209
XCTAssertFalse ( fn. attributes ( at: . argument( 0 ) ) . contains { $0. asLLVM ( ) == enumAttr. asLLVM ( ) } )
219
210
0 commit comments