[all-commits] [llvm/llvm-project] b39009: [DAGCombiner] improve readability
RotateRight via All-commits
all-commits at lists.llvm.org
Thu Dec 12 10:16:55 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b39009bf1dc91087bcd2201aebbe775ec828302b
https://github.com/llvm/llvm-project/commit/b39009bf1dc91087bcd2201aebbe775ec828302b
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2019-12-12 (Thu, 12 Dec 2019)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAGCombiner] improve readability
This is not quite NFC because I changed the SDLoc to use the more
standard 'N' (the starting node for the fold).
This transform is a special-case of a more general fold that we
do in IR, but it seems like the general fold is needed here too
to avoid a potential regression seen in D58017.
https://rise4fun.com/Alive/3jZm
More information about the All-commits
mailing list