Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit ff4c871

Browse files
committed
add inequality comparison operator for isl::id
1 parent 8bc7735 commit ff4c871

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/tc/external/detail/islpp.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ inline bool operator==(const isl::id& id1, const isl::id& id2) {
268268
return id1.get() == id2.get();
269269
}
270270

271+
inline bool operator!=(const isl::id& id1, const isl::id& id2) {
272+
return id1.get() != id2.get();
273+
}
274+
271275
///////////////////////////////////////////////////////////////////////////////
272276
// Helper functions
273277
///////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)