summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LowerEmuTLS.cpp
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2019-03-13 17:07:09 +0000
committerNirav Dave <niravd@google.com>2019-03-13 17:07:09 +0000
commitd6351340bb9bf7703fb79629efdba5886d434694 (patch)
tree64e4d230eacfca1de147baf79d0665c3185d9ff7 /llvm/lib/CodeGen/LowerEmuTLS.cpp
parentbef4fe056dcc1fb95e4aa087b141f073955d8b3b (diff)
downloadbcm5719-llvm-d6351340bb9bf7703fb79629efdba5886d434694.tar.gz
bcm5719-llvm-d6351340bb9bf7703fb79629efdba5886d434694.zip
[DAGCombiner] If a TokenFactor would be merged into its user, consider the user later.
Summary: A number of optimizations are inhibited by single-use TokenFactors not being merged into the TokenFactor using it. This makes we consider if we can do the merge immediately. Most tests changes here are due to the change in visitation causing minor reorderings and associated reassociation of paired memory operations. CodeGen tests with non-reordering changes: X86/aligned-variadic.ll -- memory-based add folded into stored leaq value. X86/constant-combiners.ll -- Optimizes out overlap between stores. X86/pr40631_deadstore_elision -- folds constant byte store into preceding quad word constant store. Reviewers: RKSimon, craig.topper, spatel, efriedma, courbet Reviewed By: courbet Subscribers: dylanmckay, sdardis, nemanjai, jvesely, nhaehnle, javed.absar, eraman, hiraditya, kbarton, jrtc27, atanasyan, jsji, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59260 llvm-svn: 356068
Diffstat (limited to 'llvm/lib/CodeGen/LowerEmuTLS.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud