The G_ZEXT in these cases seems to actually come from a combine that we do but SelectionDAG doesn't. Looking through it allows us to match "uxtw #2" addressing modes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D91475
[AArch64][GlobalISel] Look through a G_ZEXT when trying to match shift-extended register offsets. ClosedPublic Authored by aemerson on Nov 13 2020, 11:14 PM.
Details Summary The G_ZEXT in these cases seems to actually come from a combine that we do but SelectionDAG doesn't. Looking through it allows us to match "uxtw #2" addressing modes.
Diff Detail
Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka. · View Herald TranscriptNov 13 2020, 11:14 PM This revision is now accepted and ready to land.Nov 16 2020, 10:02 AM This revision was landed with ongoing or failed builds.Nov 16 2020, 10:52 AM Closed by commit rG0b6090699ab5: [AArch64][GlobalISel] Look through a G_ZEXT when trying to match shift-extended… (authored by aemerson). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 305559 llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/load-wro-addressing-modes.mir
|