diff options
author | Luke Lau <luke@igalia.com> | 2025-01-14 22:17:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-14 22:17:51 +0800 |
commit | f925e5455415d69df5716a25ceff377989603c0a (patch) | |
tree | 99674146aed6fd270c62ae6c305bc22a68421d8c /llvm/unittests/TargetParser/TargetParserTest.cpp | |
parent | c1de9b920935e7d2fcc8dd7b39c1b7285783e948 (diff) | |
download | llvm-f925e5455415d69df5716a25ceff377989603c0a.zip llvm-f925e5455415d69df5716a25ceff377989603c0a.tar.gz llvm-f925e5455415d69df5716a25ceff377989603c0a.tar.bz2 |
[VPlan] Fix mutating whilst iterating over users in EVL transform (#122885)
This fixes a miscompilation extracted from 525.x264_r, where we were
failing to update the runtime VF of a VPReverseVectorPointerRecipe.
We were removing a use of VF whilst iterating over the users() iterator,
which messed up the iterator in-flight and caused us to miss some
recipes. This fixes it by copying the users into a SmallVector first.
Fixes #122681
Fixes #122682
Diffstat (limited to 'llvm/unittests/TargetParser/TargetParserTest.cpp')
0 files changed, 0 insertions, 0 deletions