Fix Block::eraseArguments to properly update the cached positions
authorMehdi Amini <joker.eph@gmail.com>
Sat, 27 Feb 2021 19:04:12 +0000 (19:04 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 27 Feb 2021 19:04:12 +0000 (19:04 +0000)
commit7b06786de239a4ab7d53ee8ca0b2f5a9b15a871a
tree4c73e22ff47748cdb4f9b885f287fcf0152b7cfe
parenta6d76cf6101d0479af2d9c9266427c0ea51e3889
Fix Block::eraseArguments to properly update the cached positions

This is fixing correctness and ASAN failure post-ee90bb3486948.
mlir/lib/IR/Block.cpp