[all-commits] [llvm/llvm-project] 03e675: [ARM] Turn pred_cast(xor(x, -1)) into xor(pred_cas...
David Green via All-commits
all-commits at lists.llvm.org
Tue Dec 8 07:28:14 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 03e675fd128bed754454fc176357ad0ec6660c47
https://github.com/llvm/llvm-project/commit/03e675fd128bed754454fc176357ad0ec6660c47
Author: David Green <david.green at arm.com>
Date: 2020-12-08 (Tue, 08 Dec 2020)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/Thumb2/mve-pred-constfold.ll
Log Message:
-----------
[ARM] Turn pred_cast(xor(x, -1)) into xor(pred_cast(x), -1)
This folds a not (an xor -1) though a predicate_cast, so that it can be
turned into a VPNOT and potentially be folded away as an else predicate
inside a VPT block.
Differential Revision: https://reviews.llvm.org/D92235
More information about the All-commits
mailing list