summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/YAMLParser.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-09-11 22:11:37 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-09-11 22:11:37 +0000
commit3013ea1b63f6f214ec814a16dd65d93e899c376a (patch)
tree241635fb1e5b273ee0d6b867c330779e3970b38d /llvm/lib/Support/YAMLParser.cpp
parent7600794dde935ab6489a4f239312d3daa4ede096 (diff)
downloadbcm5719-llvm-3013ea1b63f6f214ec814a16dd65d93e899c376a.tar.gz
bcm5719-llvm-3013ea1b63f6f214ec814a16dd65d93e899c376a.zip
Analysis: Only allow the move-constructor for IVUsers
Force IVUsers to be moved instead of copied, properly update Parent pointers in IVStrideUse when IVUsers is moved, and make sure we have move constructors available in iplist and ilist. I came across this in a WIP patch that deleted the copy constructors from ilist. I was surprised to find that IVUsersAnalysis couldn't be registered in the new pass manager. It's not clear to me whether IVUsers was getting moved only when empty, but if it was being moved when it was non-empty then this fixes a pointer invalidation bug and should give some sort of speedup. Note that the bugfix would be necessary even for a copy constructor. llvm-svn: 281181
Diffstat (limited to 'llvm/lib/Support/YAMLParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud