This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Clean up assorted usage of hasOneUse/use_instructions [8/10]
ClosedPublic

Authored by vsk on Apr 15 2020, 6:31 PM.

Details

Summary

Use the variants of these APIs which skip over debug instructions. This
is mostly a cleanup, but it does fix a debug-variance issue which causes
addsub-shifted.ll and addsub_ext.ll to fail when debug info is inserted
by -mir-debugify.

Diff Detail

Event Timeline

vsk created this revision.Apr 15 2020, 6:31 PM
aemerson accepted this revision.Apr 16 2020, 12:27 PM

LGTM, thanks!

This revision is now accepted and ready to land.Apr 16 2020, 12:27 PM
This revision was automatically updated to reflect the committed changes.