When we have a zeroext parameter, emit G_ASSERT_ZEXT.
Add a check that we actually emit it.
This is a 0.1% code size win on CTMark/7zip and CTMark/consumer-typeset at -Os.
Paths
| Differential D95567
[AArch64][GlobalISel] Emit G_ASSERT_ZEXT in assignValueToReg ClosedPublic Authored by paquette on Jan 27 2021, 2:42 PM.
Details Summary When we have a zeroext parameter, emit G_ASSERT_ZEXT. Add a check that we actually emit it. This is a 0.1% code size win on CTMark/7zip and CTMark/consumer-typeset at -Os.
Diff Detail
Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka. · View Herald TranscriptJan 27 2021, 2:42 PM This revision is now accepted and ready to land.Jan 28 2021, 2:25 PM paquette added a parent revision: D95649: [GlobalISel] Implement regbankselect for G_ASSERT_ZEXT.Jan 28 2021, 4:22 PM paquette added a parent revision: D95652: [GlobalISel] Remove hint instructions in generic InstructionSelect code..Jan 28 2021, 5:05 PM Closed by commit rGcf2be5e3bb3d: [AArch64][GlobalISel] Emit G_ASSERT_ZEXT in assignValueToReg (authored by paquette). · Explain WhyFeb 1 2021, 10:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 320510 llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-zeroext.ll
|