Test bit of lane EC-1 can use P register directly, eg:
Materialize : Idx = (add (mul vscale, NumEls), -1)
i1 = extract_vector_elt t37, Constant:i64<Idx> ... into: "ptrue p, all" + PTEST
Paths
| Differential D121180
[AArch64] Perform last active true vector combine ClosedPublic Authored by Allen on Mar 7 2022, 7:16 PM.
Details Summary Test bit of lane EC-1 can use P register directly, eg: i1 = extract_vector_elt t37, Constant:i64<Idx> ... into: "ptrue p, all" + PTEST
Diff Detail
Event Timeline
paulwalker-arm added inline comments.
This revision is now accepted and ready to land.Mar 14 2022, 8:45 AM This revision was landed with ongoing or failed builds.Mar 14 2022, 10:28 AM Closed by commit rG3568333815b3: [AArch64] Perform last active true vector combine (authored by Allen). · Explain Why This revision was automatically updated to reflect the committed changes. Allen marked an inline comment as done.
Revision Contents
Diff 415151 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-cmp-folds.ll
|
Should this have the same SetCC.getOpcode() == ISD::SETCC restriction as performFirstTrueTestVectorCombine for the same reasons? If not then can you rename the variable.