@@ -330,7 +330,7 @@ void transform::TransformState::forgetMapping(Value opHandle,
330330 for (Operation *op : mappings.direct [opHandle])
331331 dropMappingEntry (mappings.reverse , op, opHandle);
332332 mappings.direct .erase (opHandle);
333- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
333+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
334334 // Payload IR is removed from the mapping. This invalidates the respective
335335 // iterators.
336336 mappings.incrementTimestamp (opHandle);
@@ -342,7 +342,7 @@ void transform::TransformState::forgetMapping(Value opHandle,
342342 for (Value resultHandle : resultHandles) {
343343 Mappings &localMappings = getMapping (resultHandle);
344344 dropMappingEntry (localMappings.values , resultHandle, opResult);
345- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
345+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
346346 // Payload IR is removed from the mapping. This invalidates the respective
347347 // iterators.
348348 mappings.incrementTimestamp (resultHandle);
@@ -358,7 +358,7 @@ void transform::TransformState::forgetValueMapping(
358358 for (Value payloadValue : mappings.reverseValues [valueHandle])
359359 dropMappingEntry (mappings.reverseValues , payloadValue, valueHandle);
360360 mappings.values .erase (valueHandle);
361- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
361+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
362362 // Payload IR is removed from the mapping. This invalidates the respective
363363 // iterators.
364364 mappings.incrementTimestamp (valueHandle);
@@ -372,7 +372,7 @@ void transform::TransformState::forgetValueMapping(
372372 dropMappingEntry (localMappings.direct , opHandle, payloadOp);
373373 dropMappingEntry (localMappings.reverse , payloadOp, opHandle);
374374
375- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
375+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
376376 // Payload IR is removed from the mapping. This invalidates the respective
377377 // iterators.
378378 localMappings.incrementTimestamp (opHandle);
@@ -452,7 +452,7 @@ transform::TransformState::replacePayloadValue(Value value, Value replacement) {
452452 // between the handles and the IR objects
453453 if (!replacement) {
454454 dropMappingEntry (mappings.values , handle, value);
455- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
455+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
456456 // Payload IR is removed from the mapping. This invalidates the respective
457457 // iterators.
458458 mappings.incrementTimestamp (handle);
@@ -804,7 +804,7 @@ checkRepeatedConsumptionInOperand(ArrayRef<T> payload,
804804void transform::TransformState::compactOpHandles () {
805805 for (Value handle : opHandlesToCompact) {
806806 Mappings &mappings = getMapping (handle, /* allowOutOfScope=*/ true );
807- #ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
807+ #if LLVM_ENABLE_ABI_BREAKING_CHECKS
808808 if (llvm::find (mappings.direct [handle], nullptr ) !=
809809 mappings.direct [handle].end ())
810810 // Payload IR is removed from the mapping. This invalidates the respective
0 commit comments