summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <quentin.colombet@gmail.com>2019-03-27 17:27:56 +0000
committerQuentin Colombet <quentin.colombet@gmail.com>2019-03-27 17:27:56 +0000
commit89daf49e5c56a7e4b3bc72fad64be53139912670 (patch)
tree4d21223d7bc7b36579cc94a4262e27f7c503500c /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parente1eab42f65f2d5479bbefaaa967e66746b94a003 (diff)
downloadbcm5719-llvm-89daf49e5c56a7e4b3bc72fad64be53139912670.tar.gz
bcm5719-llvm-89daf49e5c56a7e4b3bc72fad64be53139912670.zip
[PeepholeOpt] Don't stop simplifying copies on sequence of subregs
This patch removes an overly conservative check that would prevent simplifying copies when the value we were tracking would go through several subregister indices. Indeed, the intend of this check was to not track values whenever we have to compose subregister, but actually what the check was doing was bailing anytime we see a second subreg, even if that second subreg would actually be the new source of truth (as opposed to a part of that subreg). Differential Revision: https://reviews.llvm.org/D59891 llvm-svn: 357095
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud