HomePhabricator

Fix LLVM_REVERSE_ITERATION

Authored by beanz on Apr 20 2020, 2:50 PM.

Description

Fix LLVM_REVERSE_ITERATION

A recent change (4e86e5eedc6), broke LLVM_REVERSE_ITERATION for DenseMaps by adding an assert. It is valid to de-reference and increment one step behind End when reverse iteration is enabled because End is actually the start of the pointer bucket.

Details

Committed
beanzApr 20 2020, 3:30 PM
Parents
rG365b60fc9371: New pass to make internal linkage symbol names unique.
Branches
Unknown
Tags
Unknown