[all-commits] [llvm/llvm-project] 1975ff: [AArch64] Fix ldst-opt of multiple disjunct subregs.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon Jun 8 12:20:14 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1975ff9a0a982233a9a38812cd5228428020772f
https://github.com/llvm/llvm-project/commit/1975ff9a0a982233a9a38812cd5228428020772f
Author: Florian Hahn <flo at fhahn.com>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
M llvm/test/CodeGen/AArch64/stp-opt-with-renaming-ld3.mir
Log Message:
-----------
[AArch64] Fix ldst-opt of multiple disjunct subregs.
Currently aarch64-ldst-opt will incorrectly rename registers with
multiple disjunct subregisters (e.g. result of LD3). This patch updates
the canRenameUpToDef to bail out if it encounters such a register class
that contains the register to rename.
Fixes PR46105.
Reviewers: efriedma, dmgreen, paquette, t.p.northover
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D81108
More information about the All-commits
mailing list