aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorKerry McLaughlin <kerry.mclaughlin@arm.com>2025-09-11 13:53:22 +0100
committerGitHub <noreply@github.com>2025-09-11 13:53:22 +0100
commitb9fd1e6fce8c5ea80cb0db9b73fbdfdc371409c6 (patch)
treeb6c41450bfa9ff25a595a02896a07cbd360f8ae8 /llvm/unittests/Support/MathExtrasTest.cpp
parentc09cc2c5a3d57506d8744fa889f35a6aa260a52b (diff)
downloadllvm-b9fd1e6fce8c5ea80cb0db9b73fbdfdc371409c6.zip
llvm-b9fd1e6fce8c5ea80cb0db9b73fbdfdc371409c6.tar.gz
llvm-b9fd1e6fce8c5ea80cb0db9b73fbdfdc371409c6.tar.bz2
[AArch64][SVE2p1] Remove redundant PTESTs when predicate is a WHILEcc_x2 (#156478)
The optimisation in canRemovePTestInstr tries to remove ptest instructions when the predicate is the result of a WHILEcc. This patch extends the support to WHILEcc (predicate pair) by: - Including the WHILEcc_x2 intrinsics in isPredicateCCSettingOp, allowing performFirstTrueTestVectorCombine to create the PTEST. - Setting the isWhile flag for the predicate pair instructions in tablegen. - Looking through copies in canRemovePTestInstr to test isWhileOpcode.
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions