[all-commits] [llvm/llvm-project] a85f58: [AArch64] Remove SETCC of CSEL when the latter's c...
Bradley Smith via All-commits
all-commits at lists.llvm.org
Fri Jun 4 08:01:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a85f5874e2a4d4bad8c53d277e9df183122793ae
https://github.com/llvm/llvm-project/commit/a85f5874e2a4d4bad8c53d277e9df183122793ae
Author: Bradley Smith <bradley.smith at arm.com>
Date: 2021-06-04 (Fri, 04 Jun 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-setcc.ll
Log Message:
-----------
[AArch64] Remove SETCC of CSEL when the latter's condition can be inverted
setcc (csel 0, 1, cond, X), 1, ne ==> csel 0, 1, !cond, X
Where X is a condition code setting instruction.
Co-authored-by: Paul Walker <paul.walker at arm.com>
Differential Revision: https://reviews.llvm.org/D103256
More information about the All-commits
mailing list