[all-commits] [llvm/llvm-project] 325a30: [AArch64] Adjust operand sequence for Add+Sub to c...
chenglin.bi via All-commits
all-commits at lists.llvm.org
Mon Oct 31 03:58:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 325a3083b5b24fd0635fb5a49566dd573afc55ef
https://github.com/llvm/llvm-project/commit/325a3083b5b24fd0635fb5a49566dd573afc55ef
Author: chenglin.bi <chenglin.bi at linaro.org>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/addsub.ll
Log Message:
-----------
[AArch64] Adjust operand sequence for Add+Sub to combine more inline shift
((X >> C) - Y) + Z --> (Z - Y) + (X >> C)
Fix AArch part: #55714
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D136158
More information about the All-commits
mailing list