[PATCH] D42601: [JumpThreading] NFC: Rename LoadInst variables

Brian Rzycki via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 14:07:19 PST 2018


brzycki created this revision.
brzycki added reviewers: dberlin, kuba, spop.
Herald added a subscriber: hiraditya.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D42601

Files:
  llvm/lib/Transforms/Scalar/JumpThreading.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42601.131653.patch
Type: text/x-patch
Size: 8726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180126/8f0641f2/attachment.bin>


More information about the llvm-commits mailing list