Implements the following intrinsics:
- @llvm.aarch64.sve.ptest.any
- @llvm.aarch64.sve.ptest.first
- @llvm.aarch64.sve.ptest.last
Paths
| Differential D72398
[AArch64][SVE] Add ptest intrinsics ClosedPublic Authored by c-rhodes on Jan 8 2020, 6:40 AM.
Details Summary Implements the following intrinsics:
Diff Detail Event TimelineComment Actions LGTM with one minor request.
This revision is now accepted and ready to land.Jan 10 2020, 6:17 PM Comment Actions Included a test we have downstream of a ptest feeding a compare/branch to address Eli's comment. Closed by commit rG93a4dede3a5e: [AArch64][SVE] Add ptest intrinsics (authored by c-rhodes). · Explain WhyJan 15 2020, 3:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 236812 llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
llvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
|
Could you add a testcase where the ptest feeds a compare/branch, to show that combination works as expected?