A TBL instruction will use zero for any out of range values. We can use this in GenerateTBL to help turn a TBL2 into a TBL1, avoiding the need to materialise the zero.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D121139
[AArch64] TBL uses zero for out of range elements. ClosedPublic Authored by dmgreen on Mar 7 2022, 10:33 AM.
Details Summary A TBL instruction will use zero for any out of range values. We can use this in GenerateTBL to help turn a TBL2 into a TBL1, avoiding the need to materialise the zero.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 9 2022, 2:29 AM This revision was landed with ongoing or failed builds.Mar 10 2022, 6:45 AM Closed by commit rG21a97a2ac11b: [AArch64] TBL uses zero for out of range elements. (authored by dmgreen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 414370 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
llvm/test/CodeGen/AArch64/vselect-ext.ll
|
if -> is