[all-commits] [llvm/llvm-project] 2a4645: [AArch64][GlobalISel] Optimize conjunctions of com...
Amara Emerson via All-commits
all-commits at lists.llvm.org
Sun Feb 20 01:21:23 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a46450849de6904fc64f9a65303b20ca7fc9dbd
https://github.com/llvm/llvm-project/commit/2a46450849de6904fc64f9a65303b20ca7fc9dbd
Author: Amara Emerson <amara at apple.com>
Date: 2022-02-20 (Sun, 20 Feb 2022)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/test/CodeGen/AArch64/arm64-ccmp.ll
Log Message:
-----------
[AArch64][GlobalISel] Optimize conjunctions of compares to conditional compares.
This is a partial port of the same optimization from AArch64ISelLowering,
although the original handles more cases when generating regular compares
instead of this one which just does it when selecting G_SELECTs.
For more detailed comments see the original comments for
emitConditionalComparison() in AArch64ISelLowering.
Gives minor code size improvements.
Differential Revision: https://reviews.llvm.org/D117166
More information about the All-commits
mailing list