llvm-project
6460a560 - AArch64: Fix duplicating VG def operands in isel pseudo expansion (#225113)

Commit
35 days ago
AArch64: Fix duplicating VG def operands in isel pseudo expansion (#225113) Previously MSRpstatePseudo's handling would produce a duplicate VG operand. AdjustInstrPostInstrSelection added an implicit VG use/def and an FPMR def. It's dubious to introduce a def in the output which wasn't already present in the input, so fix the missing FPMR def. Also guard against re-introducing the operands for instructions which already have the defs. Ideally there would not be any of these m anual def add calls, but that is a larger fix. This removes the duplicate operand and fixes potentially inconsistent dead flags, avoiding a failure in a future verifier check. Co-authored-by: Claude (Claude-Opus-4.8) <noreply@anthropic.com>
Author
Parents
Loading