G_SEXT seems to be unnecessary here, anyext will do.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D110469
[GlobalISel] Widen G_EXTRACT_VECTOR_ELT using anyext instead of sext. ClosedPublic Authored by aemerson on Sep 24 2021, 10:56 PM.
Details Summary G_SEXT seems to be unnecessary here, anyext will do.
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, rovka and 2 others. · View Herald TranscriptSep 24 2021, 10:56 PM This revision is now accepted and ready to land.Oct 4 2021, 1:10 AM This revision was landed with ongoing or failed builds.Oct 4 2021, 12:19 PM Closed by commit rGdafcbfdaa0cd: [GlobalISel] Widen G_EXTRACT_VECTOR_ELT using anyext instead of sext. (authored by aemerson). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 376991 llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-extract-vector-elt.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.s16.mir
|