HomePhabricator

Add front/back accessors to indexed_accessor_range.

Authored by rriddle on Mon, Jun 29, 10:37 PM.

Description

Add front/back accessors to indexed_accessor_range.

These map to the similar accessors on ArrayRef and other random access containers.

This fixes a compilation error on MLIR ODS for variadic operands/results, which relied on the availability of front in certain situations.

Details

Committed
rriddleMon, Jun 29, 10:41 PM
Parents
rGf01d9e6fc3e2: [SimplifyCFG] Fix inconsistency in block size assessment for threading
Branches
Unknown
Tags
Unknown