This is an archive of the discontinued LLVM Phabricator instance.

[JumpThreading] NFC: Rename LoadInst variables
ClosedPublic

Authored by brzycki on Jan 26 2018, 2:06 PM.

Details

Summary

The JumpThreading pass has several locations where they refer to the variable name LI as a LoadInst. This is confusing and also inhibits the ability to use the variable name LI for LoopInfo as a member of the class.

The renames are from LI to LoadI. Minor formatting and comments were also altered to reflect these changes.

Passes check-all and test-suite and I didn't touch any control flow hence the NFC designation.

Diff Detail

Repository
rL LLVM

Event Timeline

brzycki created this revision.Jan 26 2018, 2:06 PM
sebpop accepted this revision.Jan 29 2018, 8:54 AM
sebpop added a subscriber: sebpop.

Looks good, please commit.

This revision is now accepted and ready to land.Jan 29 2018, 8:54 AM
This revision was automatically updated to reflect the committed changes.