This is an archive of the discontinued LLVM Phabricator instance.

[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