Recognize wide compares where the wide operand is a splat of a scalar
value in the appropriate range and convert to the immediate variant of
the instruction.
Patch by Graham Hunter
Paths
| Differential D71009
[AArch64][SVE] Add wide compare immediate patterns ClosedPublic Authored by c-rhodes on Dec 4 2019, 5:44 AM.
Details Summary Recognize wide compares where the wide operand is a splat of a scalar Patch by Graham Hunter
Diff Detail
Event Timelinec-rhodes added a parent revision: D70889: [AArch64][SVE] Implement integer compare intrinsics.Dec 4 2019, 5:44 AM
This revision is now accepted and ready to land.Dec 9 2019, 11:40 AM Closed by commit rG1b9a608c8440: [AArch64][SVE] Add wide compare immediate patterns (authored by c-rhodes). · Explain WhyDec 10 2019, 2:59 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 233031 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-intrinsics-int-compares-with-imm.ll
|
I guess it's sort of orthogonal to this patch, but why do we have two opcodes for the same operation?