This is an archive of the discontinued LLVM Phabricator instance.

[X86][NFC]Remove dead code in X86ISelLowering.cpp
ClosedPublic

Authored by XinWang10 on Mar 24 2023, 1:36 AM.

Details

Summary

Look at the code in X86ISelLowering.cpp line 15579, when NumV2Elements == 0,
it has been handled in that scope, and will not move to the line 15612.

Diff Detail

Event Timeline

XinWang10 created this revision.Mar 24 2023, 1:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 1:36 AM
XinWang10 requested review of this revision.Mar 24 2023, 1:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 1:36 AM
RKSimon accepted this revision.Mar 24 2023, 2:28 AM

LGTM - was this by manual inspection or did an analyzer spot it?

This revision is now accepted and ready to land.Mar 24 2023, 2:28 AM

Thanks for your review. This is detected by our inner analyzer.